dji-sdk / Onboard-SDK

DJI Onboard SDK Official Repository
https://github.com/dji-sdk/Onboard-SDK
Other
915 stars 632 forks source link

M210 V2 RTK error streaming X5S camera on RC when plugged USB to onboard computer #880

Closed dregner closed 2 years ago

dregner commented 2 years ago

Hello,

I am using Jetson Nano for OSDK development connected to M210 V2 RTK using X5S gimbal, but when I connect USB from drone to Jetson freeze stream camera image, equal to #483.

I followed the answered with the function builded from OSDK 3.9 ./camera-stream-poll-sample UserConfig.txt /dev/ttyACM0. Unfortunatelly when the scripts ends the image from RC freezes again. I tried to change Micro-SD card to different ones available (64, 128 and 256 GB) but the problem persist.

Output from camera-stream-poll-sample

ouput.txt

Onboard computer Config

dregner commented 2 years ago

Still no answer, and the problem just get bigger...

I tried to open the ROS service rosservice call /dji_sdk/setup_camera_stream "cameraType: 1 start: 1" and this result in a stream of X5S at RC, but when I try to acquire some image from RC or using ROS service rosservice call /dji_sdk/camera_action "camera_action: 0" it takes and generate this error:

STATUS/1 [h264 @ 0x7f4c0184e0] concealing 1440 DC, 1440 AC, 1440 MV errors in I frame
[h264 @ 0x7f4c0184e0] concealing 2880 DC, 2880 AC, 2880 MV errors in P frame
Assertion desc failed at src/libswscale/swscale_internal.h:668

Looking on internet I found this referring to FFmpeg version. Even the FPV camera is not opening it ROS topic. Can you help me with FFmpeg version that should work it or some tips to solve this problem?