Skip to content

OnBoard SDK 3.8/3.8.1 not working in Ubuntu 16.04 (M210 RTK V2 and Zenmuse X4S) #442

@alejodosr

Description

@alejodosr

I have successfully executed all the OSDK 3.8/3.8.1 samples regarding telemetry, FPV camera, etc. with an M210 RTK V2 (Frimware 1.0.0450) and a Zenmuse X4S. However, I have tested OSDK 3.8 and 3.8.1 in Ubuntu 16.04 and I have not succeed with your pre-made main camera samples (in this case, the camera-stream-callback-sample for retrieving the main camera image).

Please, mind that your platform is very expensive and it is compromising our business, since your API is not properly working while it is saying it is fully compatible.

The problem is that the camera-stream-callback-sample is not working. It is giving the following error:

Please enter the type of camera stream you want to view
m: Main Camera
f: FPV  Camera
m
Read App ID
User Configuration read successfully. 


STATUS/1 @ init, L55: Attempting to open device /dev/ttyUSB0 with baudrate 921600...

STATUS/1 @ init, L65: ...Serial started successfully.

STATUS/1 @ parseDroneVersionInfo, L727: Device Serial No. = 1DADG3E00100TW

STATUS/1 @ parseDroneVersionInfo, L729: Hardware = PM420

STATUS/1 @ parseDroneVersionInfo, L730: Firmware = 3.4.3.31

ERRORLOG/1 @ initVirtualRC, L1103: Virtual RC is not supported on this platform!

STATUS/1 @ init, L49: Looking for USB device...

STATUS/1 @ init, L65: Found 13 USB devices, identifying DJI device...

STATUS/1 @ init, L83: Found a DJI device...

STATUS/1 @ init, L96: Attempting to open DJI USB device...

STATUS/1 @ init, L134: ...DJI USB device started successfully.

STATUS/1 @ activate, L1313: version 0x304031F

STATUS/1 @ activate, L1326: 
STATUS/1 @ verify, L244: Verify subscription successful.
STATUS/1 @ initGimbal, L890: Checking if gimbal is connected ...
STATUS/1 @ startPackage, L350: Start package 0 result: 0.
STATUS/1 @ startPackage, L352: Package 0 info: freq=50, nTopics=1.

STATUS/1 @ removePackage, L468: Remove package 0 successful.
STATUS/1 @ init, L55: Attempting to open device  with baudrate 230400...

ERRORLOG/1 @ _serialOpen, L175: cannot open device 

ERRORLOG/1 @ init, L60: ...Failed to start serial

STATUS/1 @ keep_camera_x5s_state, L44: Sending heart beat

ERRORLOG/1 @ sendData, L189: Port closed
STATUS/1 Connect to MAIN_CAMERA successful

STATUS/1 All components for decoding initialized ...

STATUS/1 User callback thread created successfully!

STATUS/1 **** MAIN_CAMERA data reading thread start! ****

STATUS/1 ****** Decoder Callback Thread Start ******

ERRORLOG/1 @ sendData, L189: 
STATUS/1 @ keep_camera_x5s_state, L44: 
ERRORLOG/1 @ sendData, L189: 
STATUS/1 
STATUS/1 @ keep_camera_x5s_state, L44: 
ERRORLOG/1 @ sendData, L189: 
STATUS/1 
STATUS/1 
STATUS/1 
STATUS/1 
STATUS/1 
STATUS/1 
ERRORLOG/1 @ sendData, L189: 
STATUS/1 
STATUS/1 
STATUS/1 
STATUS/1 
STATUS/1 
STATUS/1 
STATUS/1 
STATUS/1 @ keep_camera_x5s_state, L44: 
ERRORLOG/1 @ sendData, L189: 
STATUS/1 
STATUS/1 
STATUS/1 
STATUS/1 
ERRORLOG/1 @ sendData, L189: 
STATUS/1 
STATUS/1 
STATUS/1 
STATUS/1 
ERRORLOG/1 @ sendData, L189: 
STATUS/1 
STATUS/1 
STATUS/1 
STATUS/1 
STATUS/1 
STATUS/1 
STATUS/1 
STATUS/1 @ keep_camera_x5s_state, L44: 
ERRORLOG/1 @ sendData, L189: 
STATUS/1 
STATUS/1 
STATUS/1 
STATUS/1 
STATUS/1 
STATUS/1 
STATUS/1 @ keep_camera_x5s_state, L44: 
ERRORLOG/1 @ sendData, L189: 

Any help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions