OSDK 4.0 not properly setup
1020 4 2020-7-17
Uploading and Loding Picture ...(0/1)
o(^-^)o
Milhouse1234
lvl.3

Denmark
Offline

Hi,

I'm having problems running the OSDK. I have setup everything according to the osdk github (https://github.com/dji-sdk/Onboard-SDK-ROS) and the setup did not prompt any errors. But when I try to check the rostopics, the DJI ones do not appear and when I try to call a rosservice, it prompts the message in the picture. Any idea what could be wrong?

Screenshot from 2020-07-17 11-23-11.png

I have successfully ran this before but I had some problems with my Ubuntu and had to reinstall it, so as far as I know, it should be working.
Setup:
-Ubuntu 16.04
-OSDK 4.0 (not the maser branch)
-ROS Kinetic
-Drone firmware 01.00.0690

catkin_make log:

Screenshot from 2020-07-17 11-34-26.png Screenshot from 2020-07-17 11-34-40.png


Thanks in advance,

Lucas
2020-7-17
Use props
kv886
lvl.4

Hong Kong
Offline

It is strange. Can you run rqt_graph?
2020-7-17
Use props
Milhouse1234
lvl.3

Denmark
Offline

I ended up copying the Onboard-SDK-ROS folder from a device (manifold) that was setup correctly and downloaded the Onboard-SDK from Github again... That fixed the issue. Now everything shows up as expected.

I was trying to find differences between the current Onboard-SDK-ROS 4.0 (not master) branch and the one from my device which is a few months old. What I could find is some differences in scripts on the folder "include/dji_osdk_ros"

Also, when I do roslaunch now, I can see that there's more script that wasn't executed before:


I don't know what could be the issue on this one..
2020-7-17
Use props
kv886
lvl.4

Hong Kong
Offline

I asked the official technical support about this question. They say if you use OSDK 4.0 branch you must also use ROS 4.0 branch. If you use OSDK master branch then you must use ROS master branch.
2020-7-20
Use props
Milhouse1234
lvl.3

Denmark
Offline

kv886 Posted at 7-20 03:05
I asked the official technical support about this question. They say if you use OSDK 4.0 branch you must also use ROS 4.0 branch. If you use OSDK master branch then you must use ROS master branch.

Both of them in my example were 4.0 branch.
2020-7-20
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules