N3激活问题

时间:2018-12-22 13:51:41

标签: dji-sdk

我已经购买了DJI N3飞行控制器。我想在其上使用Onboard SDK。但是我在激活时遇到了问题。我从网站上获得了APP ID和密钥。我已经在SDK包中编辑了sdk.launch文件和UserConfig.txt。运行启动文件时,我得到以下结果。

trishant@Eurus-Holmes:~/catkin_ws/src$ roslaunch dji_sdk sdk.launch
... logging to /home/trishant/.ros/log/a8788da0-05e8-11e9-89ab-2c6e8522ef61/roslaunch-Eurus-Holmes-27223.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://Eurus-Holmes:41551/

SUMMARY
========

PARAMETERS
 * /dji_sdk/align_time: False
 * /dji_sdk/app_id: 1066401
 * /dji_sdk/app_version: 1
 * /dji_sdk/baud_rate: 921600
 * /dji_sdk/enc_key: f9b36add116633854...
 * /dji_sdk/serial_name: /dev/ttyUSB0
 * /dji_sdk/use_broadcast: False
 * /rosdistro: kinetic
 * /rosversion: 1.12.14

NODES
  /
    dji_sdk (dji_sdk/dji_sdk_node)

ROS_MASTER_URI=http://localhost:11311

process[dji_sdk-1]: started with pid [27240]

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

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

STATUS/1 @ parseDroneVersionInfo, L706: Device Serial No. = 0DBDF5E00200BS

STATUS/1 @ parseDroneVersionInfo, L708: Hardware = N3

STATUS/1 @ parseDroneVersionInfo, L709: Firmware = 3.3.8.39

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

STATUS/1 @ activate, L1277: version 0x3030827

STATUS/1 @ getErrorCodeMessage, L656: activate
STATUS/1 @ getCMDSetActivationMSG, L705: DJIGO_APP_NOT_CONNECTED_ERROR

ERRORLOG/1 @ activate, L1302: Failed to activate please retry SET 0x0 ID 0x1 code 0x4
[ERROR] [1545484435.702713621]: drone activation error
[ERROR] [1545484435.702863772]: Vehicle initialization failed
^C[dji_sdk-1] killing on exit

STATUS/1 @ getErrorCodeMessage, L656: removePackage
STATUS/1 @ getCMDSetSubscribeMSG, L739: SUBSCRIBER_ILLEGAL_DATA_LENGTH

STATUS/1 @ getErrorCodeMessage, L656: removePackage
STATUS/1 @ getCMDSetSubscribeMSG, L739: SUBSCRIBER_ILLEGAL_DATA_LENGTH

STATUS/1 @ getErrorCodeMessage, L656: removePackage
STATUS/1 @ getCMDSetSubscribeMSG, L739: SUBSCRIBER_ILLEGAL_DATA_LENGTH

STATUS/1 @ getErrorCodeMessage, L656: removePackage
STATUS/1 @ getCMDSetSubscribeMSG, L739: SUBSCRIBER_ILLEGAL_DATA_LENGTH

STATUS/1 @ getErrorCodeMessage, L656: reset
STATUS/1 @ getCMDSetSubscribeMSG, L739: SUBSCRIBER_ILLEGAL_DATA_LENGTH
shutting down processing monitor...
... shutting down processing monitor complete
done

我缺少一些步骤吗? DJI GO必须强制激活吗?
我已将计算机连接到API引脚,并按照ROS板载说明(https://developer.dji.com/onboard-sdk/documentation/sample-doc/sample-setup.html#ros-onboard-computer

谢谢。

1 个答案:

答案 0 :(得分:0)

问题已解决。您无需DJI App即可激活。