colcon build error : 3DMGX5-AHRS
Closed this issue · 5 comments
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
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
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
I did something as the overall rosdep configuration.
But still same problem occur.
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
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