PAYLOAD SDK EXAMPLE

Clone Gremsy PayloadSDK

git clone -b develop --recurse-submodules [email protected]:Gremsy/PayloadSdk.git

Build Example

cd PayloadSdk
mkdir build && cd build  
cmake ..  
make

Examples Content

1._Connect _to_Payload

  • Check connect Onboard Computer to Vio Payload

2._Load_Payload_Settings

  • Load all Vio Payload setting menu

3._Set_Payload_Settings

  • Set Vio Payload Camera parameter by setting menu

4._Capture_Image

  • Check storage micro SD card

  • Change camera mode is CAMERA_MODE_IMAGE

  • Capture 3 Images

5._Record_Video

  • Check storage micro SD card

  • Change camera mode is CAMERA_MODE_VIDEO

  • Record video

6._Get_Video_Streaming

  • Get camera stream infomation

  • Get video stream by RTP GStreamer

7._Move_Gimbal_SpeedMode

  • Control Gimbal by speed mode

8._Move_Gimbal_AngleMode

  • Control Gimbal by angle mode

9._Get_Status_Gimbal

  • Get Angle Gimbal: Pitch, Roll, Yaw

10._Set_Camera_Zoom_Focus

  • Set zoom Vio by send message MAV_CMD_SET_CAMERA_ZOOM

  • Set focus Vio by send message MAV_CMD_SET_CAMERA_FOCUS

Last updated