-
Notifications
You must be signed in to change notification settings - Fork 226
-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turn on recording onto USB drive? #52
Comments
I have not looked into it myself Sameer, but it is something that I will need in near future. I do not have time during next two weeks to do that, but any helps would be really appreciated. |
So I experimented by adding a service toggleusbrecord which calls the macro ARDRONE_TOOL_CONFIGURATION_ADDEVENT to set the video_on_usb parameter, but as far as I could tell (by telnetting in and looking in the /data/video/usb1 directory) it didn't start recording. I also experimented with the bits which send the ros parameters over -- I removed the bit which says if(param != default) so it would send all parameters, even the ones set to default (video_on_usb defaults to 1, so the parameter wasn't getting sent).. that also didn't turn on recording. Perhaps there is another parameter that needs to be turned on or changed in order to enable the recording to USB. I did make sure that my Android app was able to turn on recording, that works. I may snoop the TCP connection between my android and the ar.drone, that may help me see if anything else also needs to be set. |
Thanks for looking into that @sameerparekh. When this driver was being developed, there were no good official example of video proccesing available using SDK. However there is one now, that might help. |
Unfortunately I think that video code only deals with the wifi stream, not the USB recording -- at least that's what it looks like. I grep'd through the code and saw no mention of USB. |
Pull request #53 |
Does the ardrone_driver expose the interface to turn on and off video recording to the USB drive? I noticed the video_on_usb parameter, which defaults to 1, but I connected a USB drive to my AR.Drone and recording did not happen. I also quickly reviewed the AR.Drone SDK documentation and source code, and I couldn't find a call in there which enabled recording to the USB. Any ideas?
Thanks
-s
The text was updated successfully, but these errors were encountered: