Activation failure Manifold 2-C
889 0 2019-10-15
Uploading and Loding Picture ...(0/1)
o(^-^)o
djiuser_zc90Gvt3VEHG
lvl.1

Offline

I'm running into errors with the activation process with the Manifold 2-C and a Matrice 210 RTK V2. I have installed the dji_sdk package and added user privelege to dialout. Everything has been catkin_maked and sourced. API control is enabled on DJI Assistant and DJI pilot is running on the controller, connected to the internet. When I run the launch command "roslaunch dji_sdk sdk.launch", i get this error :[size=12.800000190734863px]

STATUS/1 @ init, L56: Attempting to open device /dev/ttyTHS0 with baudrate 115200...

ERRORLOG/1 @ _serialOpen, L181: cannot open device /dev/ttyTHS0

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

ERRORLOG/1 @ sendData, L423: Port closed.
ERRORLOG/1 @ sendData, L427: Open Protocol cmd send failed, send_len: -1 packet_len: 19

ERRORLOG/1 @ getDroneVersion, L1503: Drone version not obtained! Please do not proceed.
Possible reasons:
Serial port connection:
* SDK is not enabled, please check DJI Assistant2 -> SDK -> [v] Enable API Control.
* Baudrate is not correct, please double-check from DJI Assistant2 -> SDK -> baudrate.
* TX and RX pins are inverted.
* Serial port is occupied by another program.
* Permission required. Please do 'sudo usermod -a -G dialout $USER' (you do not need to replace $USER with your username). Then logout and login again

ERRORLOG/1 @ activate, L1387: Unable to initialize some vehicle components![ERROR] [1571122020.549451346]: drone activation error
[ERROR] [1571122020.549600357]: Vehicle initialization failed

The activate function is correctly reading the launch parameters defined in the launch file, App ID and Key are correct, I followed the hardware&software guide setup.


How to get serial name and baud rate.


[size=12.800000190734863px]And also i'm not sure if the connection are correct, i was advised to use USB-TTL cable insted of UART since UART0 is debugging. so if i used USB-TTL cables should i also a type A USB to connect the drone to the manifold??



2019-10-15
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules