I seem to have all the kinks worked out of my fork of the RoboticsCape library for the BBWG now need to start on Node.js interface, but before I do wanted to know if you knew of any existing efforts either of you knew off.
Is this the only node.js project using LibRoboticsCape at the moment. http://www.github.com/jadonk/node-roboticscape Current plan is to expose RoboticCape interfaces to Node.js then add enhancements starting with drive forward, backwards inches, turn degrees using just encoders. This has worked well for us when developing lower stuff for our First Robotics student on the android platform and if exposed in Node.js should work well in NodeRed, Bone101, etc. Was thinking something like var robot = new Robot( {“leftdrive”: {“motor”:0, “encoder”:0, “inchesPerTick”:”.25”, “degressPerTick”:”2.13”}, “rightdrive”: {“motor”:1, “encoder”:1, “inchesPerTick”:”.25”, “degressPerTick”:”2.13”} ); robot.drive(24); // Drive Forward 24 inches; while (!robot.driveIsComplete){ robot.toggleled(); } //Or using Promise robot.drive(-24).then(function(){ // Drive Backwards 24 inches; use Promise robot.turn(90).then(function(){ robot.stop(); } } -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/f1907a02-cd89-40a2-b6bf-fe85328ed225%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
