Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

colcon build error : 3DMGX5-AHRS #322

Open
kevinhan75 opened this issue Apr 24, 2024 · 1 comment
Open

colcon build error : 3DMGX5-AHRS #322

kevinhan75 opened this issue Apr 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kevinhan75
Copy link

kevinhan75 commented Apr 24, 2024

Describe the bug
I did install 'ros2' branch of microstrain_inertial in ubuntu 20.04, ROS2 foxy for installing 3DMGX5-AHRS
When I executed 'colcon build', I got the error below:

kevinhan@kevinhan-locomotion:~/microstrain_ws$ colcon build
Starting >>> microstrain_inertial_msgs
Starting >>> microstrain_inertial_description
Finished <<< microstrain_inertial_description [0.63s]
Finished <<< microstrain_inertial_msgs [16.2s]
Starting >>> microstrain_inertial_driver
Starting >>> microstrain_inertial_rqt
Finished <<< microstrain_inertial_rqt [0.69s]
--- stderr: microstrain_inertial_driver
CMake Error at CMakeLists.txt:92 (find_package):
By not providing "Findnmea_msgs.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"nmea_msgs", but CMake did not find one.

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.


Failed <<< microstrain_inertial_driver [1.22s, exited with code 1]

Summary: 3 packages finished [17.7s]
1 package failed: microstrain_inertial_driver
1 package had stderr output: microstrain_inertial_driver
1 package not processed

How can I solve this problem?

Environment (please complete the following information):

  • OS: Ubuntu 20.04
  • Architecture: x86_64
  • ROS Version: foxy
  • Version:
  • Sensor(s): 3DMGX5-AHRS]

And before 'colcon build', when I did 'rosdep install --from-paths ~/microstrain_ws/src -i -r -y',
finally I got the message like below:

kevinhan@kevinhan-locomotion:~/microstrain_ws/src/microstrain_inertial$ rosdep install --from-paths ~/microstrain_ws/src -i -r -y
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
microstrain_inertial_driver: Cannot locate rosdep definition for [rtcm_msgs]
microstrain_inertial_examples: Cannot locate rosdep definition for [rviz_imu_plugin]
microstrain_inertial_description: Cannot locate rosdep definition for [xacro]
Continuing to install resolvable dependencies...
#All required rosdeps installed successfully

@kevinhan75 kevinhan75 added the bug Something isn't working label Apr 24, 2024
@github-actions github-actions bot added the New This issue is new, and should not be marked as stale label Apr 24, 2024
@robbiefish
Copy link

This seems like a problem with the overall rosdep configuration. All of those packages should be able to be found. Have you setup rosdep? Documentation for rosdep can be found here

@robbiefish robbiefish removed the New This issue is new, and should not be marked as stale label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants