M600 [dji_sdk-2] process has died
622 0 2021-9-18
Uploading and Loding Picture ...(0/1)
o(^-^)o
fansdb68f33a
lvl.2
Flight distance : 1001352 ft
Canada
Offline

Hi!

I have an M600 with an onboard computer attach to it, the computer is running ubuntu 18.04, ROS Melodic. I'm currently using tag 3.8.1 of the Onboard-SDK-ROS, compilation work great, I disabled advaced_sensing, I have the proper app id and key, when launching the node, it connects to the drone but it crashes some seconds after starting... the output looks as follows:

------------------------------------------------------------------------------------
$ roslaunch dji_sdk sdk.launch
... logging to /home/aldux/.ros/log/8c46c216-18bc-11ec-8ca5-50eb71403eef/roslaunch-drone-13163.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://drone:39291/

SUMMARY
========

PARAMETERS
* /dji_sdk/acm_name: /dev/ttyACM0
* /dji_sdk/align_time: False
* /dji_sdk/app_id: 1108879
* /dji_sdk/app_version: 1
* /dji_sdk/baud_rate: 921600
* /dji_sdk/enc_key: ace21cb8c8853b5a4...
* /dji_sdk/serial_name: /dev/ttyUSB0
* /dji_sdk/use_broadcast: False
* /rosdistro: melodic
* /rosversion: 1.14.10

NODES
  /
    dji_sdk (dji_sdk/dji_sdk_node)

auto-starting new master
process[master]: started with pid [13173]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 8c46c216-18bc-11ec-8ca5-50eb71403eef
process[rosout-1]: started with pid [13184]
started core service [/rosout]
process[dji_sdk-2]: started with pid [13187]

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. = 0670132494

STATUS/1 @ parseDroneVersionInfo, L729: Hardware = PM820V3PRO

STATUS/1 @ parseDroneVersionInfo, L730: Firmware = 3.2.41.14

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

STATUS/1 @ activate, L1313: version 0x302290E

STATUS/1 @ activate, L1326: Activation successful

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.[ INFO] [1631995870.001634335]: drone activated
[dji_sdk-2] process has died [pid 13187, exit code -11, cmd /home/aldux/m600_ros/devel/lib/dji_sdk/dji_sdk_node __name:=dji_sdk __log:=/home/aldux/.ros/log/8c46c216-18bc-11ec-8ca5-50eb71403eef/dji_sdk-2.log].
log file: /home/aldux/.ros/log/8c46c216-18bc-11ec-8ca5-50eb71403eef/dji_sdk-2*.log
------------------------------------------------------------------------------------


I have several questions:

1.- How can I prevent this crash?
2.- Is tag 3.8.1 the last tag that can be used for the m600?

Thanks a lot!!

2021-9-18
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules