M210 V2 - OSDK Connectivity Issue
CompletedI'm trying to connect M210 V2 with Manifold-2C using a F232 based USB2TTL converter. All the connections seem to be fine. And when I monitor the ttyUSB0 port using moserial it shows data being received. However, when I run roslaunch dji_osdk_ros dji_vehicle_node.launch I get the following error. Any ideas what I might be doing wrong?
auto-starting new master
process[master]: started with pid [2499]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 15f006b0-f600-11eb-97c5-60601ffb4d58
process[rosout-1]: started with pid [2513]
started core service [/rosout]
process[vehicle_node-2]: started with pid [2516]
EnableAd: 1
[383974.666]ERRORLOG/1 @ initVehicle, L153: Failed to initialize Linker channel
Init Vehicle Failed, TERMINATE!
[vehicle_node-2] process has died [pid 2516, exit code 1, cmd /home/dji/catkin_ws/devel/lib/dji_osdk_ros/dji_vehicle_node __name:=vehicle_node __log:=/home/dji/.ros/log/15f006b0-f600-11eb-97c5-60601ffb4d58/vehicle_node-2.log].
log file: /home/dji/.ros/log/15f006b0-f600-11eb-97c5-60601ffb4d58/vehicle_node-2*.log
-
Ok - I have partial success. I needed to do
sudo chmod 666 /dev/ttyUSB0
after the dialout command - sudo usermod -a -G dialout $USER
But now I have device activation error - even though the drone has already been activated.
[387858.720]ERRORLOG/1 @ activate, L1387: Solutions for NEW_DEVICE_ERROR:
* Double-check your app_id and app_key in UserConfig.txt. Does it match with your DJI developer account?
* If this is a new device, you need to activate it through the App or DJI Assistant 2 with Internet
For different aircraft, the App and the version of DJI Ass
[387858.720]STATUS/1 @ getErrorCodeMessage, L744: initVehicle
[387858.720]STATUS/1 @ getCMDSetActivationMSG, L794: NEW_DEVICE_ERRORInit Vehicle Failed, TERMINATE!
[vehicle_node-2] process has died [pid 5700, exit code 1, cmd /home/dji/catkin_ws/devel/lib/dji_osdk_ros/dji_vehicle_node __name:=vehicle_node __log:=/home/dji/.ros/log/1e608c80-f609-11eb-97c5-60601ffb4d58/vehicle_node-2.log].
log file: /home/dji/.ros/log/1e608c80-f609-11eb-97c5-60601ffb4d58/vehicle_node-2*.logAny help will be appreciated.
-
For the error : NEW_DEVICE_ERROR, you should activate the drone as follows: 1, Connects the drone and DJI Assistant2 (logon with your account/password) 2, run the sample twice with correct AAPID/APPKEY in UserConfig.txt M210 V2 drones,please connects the dual A USB to the DJI Assistant2 first and activated the APP ID and then connects to the onboard computer for OSDK application.
Please sign in to leave a comment.
Comments
3 comments