Ask Your Question

problem in installaion ROS DJI

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

ofir gravatar image

We are trying to install the dji_sdk library to Ubuntu 18 (with ROS melodic) 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

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

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 &&  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 -b master
cd ..
rosdep update
rosdep install -y --rosdistro melodic --from-paths src --ignore-src
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


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

Seen: 810 times

Last updated: Jan 22 '20