Closed xxliefde closed 8 years ago
I suspect that this line of code here https://github.com/hybridgroup/node-bebop/blob/master/lib/SpeedSettings.js#L37 should probably be:
var buffer = commandToBuffer(0, "SpeedSettings", "Outdoor", outdoor);
I'm charging up my batteries to try this out.
I just tried the unmodified code, and did not have that problem. What version of Node are you running?
i'm running v0.10.25
Hi, @xliefde I tested using both Node 5.8.0 and 4.2.2 and had no problems. What OS are you running? I tested with Ubuntu 14.04.
That's weird i'm running Ubuntu 14.04 too The firmware on the drone is up to date ( 2.0.57)
OK, was able to repro you problem in Node v0.10.40
I'll take a look to see if there is a simple solution for backward compat with old versions of Node.
Thanks !
I think this is similar to a problem solved by @johan-olsson previously, perhaps he can be persuaded to look into it.
Hi @xliefde are you still having this problem with the latest release?
Unfortunately still it's same and my motherboard is broken now. even if i use the ios app for drone. It's still drifting.. After i fix it i'll work on sdk which is python.
Hi @xliefde I've just confirmed that the new updates are working in Node 0.10.40, 4.2.2, and 5.8.0
I am going to close this issue, please reopen if you need further assistance when you get your drone fixed. Thanks again for your help!
var bebop = require('node-bebop');
var drone = bebop.createClient();
drone.connect(function() { drone.SpeedSettings.outdoor(0); });