LORD-MicroStrain / microstrain_inertial

ROS driver for all of MicroStrain's current G and C series products. To learn more visit
https://www.microstrain.com/inertial
97 stars 72 forks source link

colcon build error : 3DMGX5-AHRS #322

Closed kevinhan75 closed 2 months ago

kevinhan75 commented 5 months ago

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):

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

robbiefish commented 4 months ago

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

github-actions[bot] commented 4 months ago

This issue is stale because it has been open for 2 weeks with no activity. If the issue is still not resolved, please leave a comment describing what is still not working

kevinhan75 commented 3 months ago

I did something as the overall rosdep configuration. But still same problem occur.

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 2 weeks with no activity. If the issue is still not resolved, please leave a comment describing what is still not working

github-actions[bot] commented 2 months ago

This issue was closed because it has been inactive for 2 weeks since being marked as stale. If the issue is still not resolved, please reopen the issue, and leave a comment describing what is still not working