4 ms·
Why would you do that? The main point of it is to be portable across Windows and Unix, and I can't imagine that many robots care about that. It was developed
by chubot 14y ago
Why would you do that? The main point of it is to be portable across Windows and Unix, and I can't imagine that many robots care about that. It was developed for node.js. If your robots were running Unix then I imagine you would just use the normal C APIs or something like libev.
- ChuckMcM 14y agoWell for a long time folks have built robots by putting a laptop on to a powered set of wheels. Some folks are more comfortable with Windows, others more comfortable with Linux. Recently there has been a surge of 'android' robots as well with folks re-purposing phones and tablets to the task of controller. The 'style' of this programming is often very much event driven. Seems like a common base would be useful.
- rck 14y agoYou're right that an event-driven style is useful for programming mobile robots, but a lot of the time the tricky part is actually generating events (usually from sensors) in the first place. I haven't seen anyone use libuv for this sort of infrastructure, but ROS (www.ros.org) provides everything you need for mobile (and other forms of) robotics: publish-subscribe message passing, client-server, wrappers for common robot platforms. I think it has essentially the functionality you're talking about.