How to shoot photo at waypoint in flight plan with groundSDK

Can i shoot photo at waypoint in flight plan and how to do it? Thank you.

Hi,

FlightPlanPilotingItf(iOS)/FlightPlanPilotingItf(Android) allows to make the drone execute predefined flight plans.
A Flight Plan file contains MAVLink messages with some modifications for internal purposes.
A documentation of Flight Plan files format should be published in the next GroundSDK release.

The mavlink message MAV_CMD_NAV_TAKEOFF(22) allows to takeoff.
The mavlink message MAV_CMD_NAV_WAYPOINT(16) allows to navigate to waypoint.
The mavlink message MAV_CMD_IMAGE_START_CAPTURE(2000) allows to take pictures.
The mavlink message MAV_CMD_NAV_LAND(22) allows to land.

Following, the content of a Flight Plan file allowing to takeoff; go to a waypoint; take a picture and land.

QGC WPL 120
0 1 3 22 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 1
1 0 3 16 0.000000 0.000000 0.000000 0.000000 48.879000 2.366549 20.000000 1
2 0 2 2000 1.000000 1.000000 12.000000 0.000000 0.000000 0.000000 0.000000 1
3 0 3 21 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 1

Regards,
Maxime

1 Like

Hi Maxime,
as far as I understand, message image_start_capture has param "period ": the length of the capture in seconds, it mean that the delay time to take a picture so maybe the point when shoot photo not coincide with waypoint, but i want to shoot a photo when drone arrive at waypoints. So have another answers for this case?
Thank you for you replay and support!