DJI_SKD Error roslaunch Call the publish() on an invalid Publisher

asked 2021-03-03 11:03:54 -0500

dji_dev_m600_ger gravatar image

Hi,

we got a problem by starting roslaunch dji_sdk sdk.launch after configuring as shown here: http://wiki.ros.org/dji_sdk/Tutorials.... It seems like the activation is done and a connection to the drone is available but we got this error message:

System: Ubuntu 20.04 Ros Noetic DJI SDK 3.8 and ROS_DJI 3.8 Matrice M600

[FATAL] [1614789528.038253677]: ASSERTION FAILED
file = /opt/ros/noetic/include/ros/publisher.h
line = 104
cond = false
message = 
[FATAL] [1614789528.038431457]: Call to publish() on an invalid Publisher                            [FATAL] [1614789528.038510417]:                                                                                           [dji_sdk-2] process has died [pid 15153, exit code -6, cmd /home/ubuntu/catkin_ws/devel/lib/dji_sdk/dji_sdk_node __name:=dji_sdk __log:=/home/ubuntu/.ros/log/e1228d76-7c3e-11eb-ba83-aa0000527354/dji_sdk-2.log].

log file: /home/ubuntu/.ros/log/e1228d76-7c3e-11eb-ba83-aa0000527354/dji_sdk-2*.log

Thanks for help Moritz

edit retag flag offensive close merge delete

Comments

Did you solve this problem? We get the same issue now testing our M600 for the first time in a while.

tompe17 gravatar image tompe17  ( 2021-05-02 10:23:24 -0500 )edit

So it is one of the publisher for RTK that is invalid. Commenting away that publishing and it works but get the error messages. Then I think I got issues as described in: https://github.com/dji-sdk/Onboard-SD.... RTK was not connected, we will test with the RTK hardware later. For now I just disabled the RTK in the code.

tompe17 gravatar image tompe17  ( 2021-05-02 16:04:46 -0500 )edit