Init Vehicle Failed, TERMINATE! DJI M300 OSDK #120993
Unanswered
DevJadefly
asked this question in
Programming Help
Replies: 1 comment 1 reply
-
Heya! If you ever managed to fix that/would be able to bypass the DJI ronin activation issue in the assistant App, please let me know. Would be willing to commission! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Body
Hello, I am trying to figure out a way to run OSDK sample code provided by DJI on my M300 with ros noetic. I am working with OSDK and the E-port development kit by DJI so I plugged the UART and the USB ports to my computer (ubuntu 20.04). My worflow :
I plug the aircraft to the E-port development kit, then the UART and USB ports to my computer.
I turn on the remote controller and go to the pilot app
I turn on the aircraft (the aircraft is connected to the remote)
I tried to run the sample code with this line :
roslaunch dji_osdk_ros dji_vehicle_node.launch
But I can't make it work it keeps giving this error :
[273648.667]STATUS/1 @ init, L247: USB is not plugged or initialized successfully. Advacned-Sensing will not run.
[273648.667]STATUS/1 @ activate, L1329: version 0x304122A
[273648.667]STATUS/1 @ firewallTask, L112: [273649.689]STATUS/1 @ activate, L1360: Retry to activate again ..
[273650.722]STATUS/1 @ activate, L1360: Retry to activate again ..
[273651.749]STATUS/1 @ activate, L1360: Retry to activate again ..
[273651.776]STATUS/1 @ getErrorCodeMessage, L744: activate
[273651.777]STATUS/1 @ getCMDSetActivationMSG, L794: NEW_DEVICE_ERROR
[273651.777]ERRORLOG/1 @ activate, L1380: Failed to activate please retry SET 0x0 ID 0x1 code 0x3
[273651.777]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
[273651.777]STATUS/1 @ getErrorCodeMessage, L744: initVehicle
[273651.777]STATUS/1 @ getCMDSetActivationMSG, L794: NEW_DEVICE_ERROR
Init Vehicle Failed, TERMINATE!
I checked my app ID and Key, the app does not request any activation ...
Has anyone run into the same problem ?
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions