collision_detecion_bullet can't find octomap_msgs header file

asked 2022-07-29 10:19:24 -0500

Dongchan Year gravatar image

updated 2022-07-29 10:21:13 -0500

colcon build moveit2 and octomap_msgs from source. the octomap_msgs conversions.h have been exited, but output error

~/workspace/ros-tools/moveit2_ws/install/octomap_msgs/include/octomap_msgs: ll
-rw-r--r-- 1 dongchan dongchan 7.5K Jul 29 17:27 conversions.h

--- stderr: moveit_core
In file included from /workspace/ros-tools/moveit2_ws/src/moveit2/moveit_core/collision_detection_bullet/src/bullet_integration/ros_bullet_utils.cpp:34: /workspace/ros-tools/moveit2_ws/src/moveit2/moveit_core/collision_detection_bullet/include/moveit/collision_detection_bullet/bullet_integration/ros_bullet_utils.h:25:10: fatal error: octomap_msgs/conversions.h: No such file or directory 25 | #include <octomap_msgs conversions.h=""> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: * [collision_detection_bullet/CMakeFiles/moveit_collision_detection_bullet.dir/build.make:160: collision_detection_bullet/CMakeFiles/moveit_collision_detection_bullet.dir/src/bullet_integration/ros_bullet_utils.cpp.o] Error 1 gmake[2]: Waiting for unfinished jobs.... In file included from /workspace/ros-tools/moveit2_ws/src/moveit2/moveit_core/collision_detection_bullet/src/collision_env_bullet.cpp:39: /workspace/ros-tools/moveit2_ws/src/moveit2/moveit_core/collision_detection_bullet/include/moveit/collision_detection_bullet/bullet_integration/ros_bullet_utils.h:25:10: fatal error: octomap_msgs/conversions.h: No such file or directory 25 | #include <octomap_msgs conversions.h=""> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: [collision_detection_bullet/CMakeFiles/moveit_collision_detection_bullet.dir/build.make:118: collision_detection_bullet/CMakeFiles/moveit_collision_detection_bullet.dir/src/collision_env_bullet.cpp.o] Error 1 gmake[1]: [CMakeFiles/Makefile2:2216: collision_detection_bullet/CMakeFiles/moveit_collision_detection_bullet.dir/all] Error 2 gmake[1]: ** Waiting for unfinished jobs....

gmake: * [Makefile:146: all] Error 2

Failed <<< moveit_core [33.2s, exited with code 2]

Can everyone help me resolve the issue?

edit retag flag offensive close merge delete