Unable to record video on bebop drone


#1

Product: [Bebop/Bebop2]
Product version: [X.X.X]
SDK version: [3.9.0]
Use of libARController: [YES/NO] (Only for ARSDK)
SDK platform: Android
Reproductible with the official app: No

Hi All,

I am developing an android app to control bebop drone. The functionality of the app is similar to that of Freeflight application. I am able to establish connection with the drone ,get the live feed, take picture, download th picture etc. But I am unable to record a video. I have followed the instructions given in http://developer.parrot.com/docs/bebop/#a-name-ardrone3-mediarecord-videov2-a . Here is the code:

ARCONTROLLER_ERROR_ENUM error = deviceController.getFeatureARDrone3().sendMediaRecordVideoV2(ARCOMMANDS_ARDRONE3_MEDIARECORD_VIDEOV2_RECORD_ENUM.ARCOMMANDS_ARDRONE3_MEDIARECORD_VIDEOV2_RECORD_START);

On executing this command, it returns “no error”. But I am not receiving the event change (http://developer.parrot.com/docs/bebop/#a-name-ardrone3-mediarecordevent-videoeventchanged-a) and state change(http://developer.parrot.com/docs/bebop/#a-name-ardrone3-mediarecordstate-videostatechangedv2-a) events.

I have also tried sending stop command after a while as follows:
ARCONTROLLER_ERROR_ENUM error = deviceController.getFeatureARDrone3().sendMediaRecordVideoV2(ARCOMMANDS_ARDRONE3_MEDIARECORD_VIDEOV2_RECORD_ENUM.ARCOMMANDS_ARDRONE3_MEDIARECORD_VIDEOV2_RECORD_STOP);

Still state change or event change events are not recieved . When i check the internal memory of drone there is no video captured. That is, the commands I sent have no effect.
What am I missing? Please let me know if anyone has faced this issue and found a solution. Thanks in advance.


Bebop not taking picture
#2

Hi,

Please use at least the version 3.9.1 because the 3.9.0 had a bug with the enums params.

Regards,
Djavan


#3

Hi,

Thank you so much. Its working now :slight_smile:

Regards,
Sowmya