ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

problem in installaion ROS DJI

asked 2019-12-17 06:39:56 -0500

ofir gravatar image

We are trying to install the dji_sdk library to Ubuntu 18 (with ROS melodic) http://wiki.ros.org/dji_sdk/Tutorials... when we try to use the command catkin_make we get the error:

CMake Error at /home/jetson/catkin_ws/devel/share/dji_sdk/cmake/dji_sdkConfig.cmake:197 (find_package): Could not find a package configuration file provided by "nmea_msgs" with any of the following names:

nmea_msgsConfig.cmake nmea_msgs-config.cmake

Add the installation prefix of "nmea_msgs" to CMAKE_PREFIX_PATH or set "nmea_msgs_DIR" to a directory containing one of the above files. If "nmea_msgs" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:76 (find_package) Onboard-SDK-ROS/dji_sdk_demo/CMakeLists.txt:10 (find_package)

we tried to use the command "sudo apt-get install ros-kinetic-nmea-msgs" but the error still exists (according to what is written all the relevant files exist). Is it possible to download this on ros melodic? Ubuntu 18?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-01-22 05:16:16 -0500

marguedas gravatar image

we tried to use the command "sudo apt-get install ros-kinetic-nmea-msgs"

If you use ROS melodic you should not install ROS Kinetic packages, but ros-melodic-nmea-msgs instead. It is recommended to use rosdep to install dependencies.


I faced a similar issue. To get things to compile properly I needed to make these changes

The steps I followed to build it (copied from PR description):

docker run -it --rm ros:melodic-ros-core
apt -qq update && apt upgrade -y
cd && git clone https://github.com/dji-sdk/Onboard-SDK &&  cd Onboard-SDK && mkdir build && cd build
cmake .. && make djiosdk-core && make install
cd && mkdir -p catkin_ws/src &&  cd catkin_ws/src
git clone https://github.com/dji-sdk/Onboard-SDK-ROS.git -b master
cd ..
rosdep update
rosdep install -y --rosdistro melodic --from-paths src --ignore-src
catkin_make_isolated
edit flag offensive delete link more

Question Tools

Stats

Asked: 2019-12-17 06:39:56 -0500

Seen: 2,064 times

Last updated: Jan 22 '20