felixge / node-ar-drone

A node.js client for controlling Parrot AR Drone 2.0 quad-copters.
http://nodecopter.com/
MIT License
1.76k stars 428 forks source link

client.config('video:video_channel', 0) not setting front facing camera #138

Open darsnack opened 7 years ago

darsnack commented 7 years ago

I had some code that used the bottom camera, and it worked fine. I changed the code to use the front camera using client.config('video:video_channel', 0); but this does not seem to work.

For reference, my drone is doing object tracking. When I use the front facing camera code above, the drone is unresponsive to the object moving in front of it. However, if I keep the code the same, and I place the object under the drone, it reacts. Any ideas why the above command could be failing? I even placed my code in an async.waterfall block to make sure the camera was configured first before I had the drone takeoff and enter the main control loop.

paulhayes commented 6 years ago

I'm getting the same issue. Any progress on it?

Is it possible a firmware update has changed the command? I'm not getting any errors from the config callback. And I'm setting it once the client has connected.

felixge commented 6 years ago

Yeah, it's possible the FW changed. Parrot used to release a detailed PDF along with their SDK, maybe somebody can hunt down the latest version and see what it says.