moveit2: eigen_stl_containers missing
The geometric_shapes
dependency (moveit2.repos) depends on eigen_stl_containers
, so does the moveit_core
, but this dependency is not mentioned in the .repos
file
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (7 by maintainers)
Issue Reproduced on Ubuntu 20.04 LTS during building the workspace
“eigen_stl_containers” with any of the following names:
@mhubii shall this issue be reopened or use a new issue Thanks
Hi @JafarAbdi,
I believe the above error people are encountering relates to the management of dependencies and how ROS 2 is being built. For instance if I build ROS 2 rolling from source then I would expect to source
~/ros2_rolling/install/local_setup.bash
however, if I subsequently use rosdep to install the dependencies required for building MoveIt 2 the dependent packages will be included at path
/opt/ros/rolling/include/
and hence if I only source
~/ros2_rolling/install/local_setup.bash
before attempting to build MoveIt 2 I will encounter build errors (find_package not finding eigen_stl_containers package).
The MoveIt 2 build guide actually appears to highlight that it only applies to ROS 2 installations from Debian packages. I have opened an issue on this for the guide above in case it is helpful to update the guide with additional details for when ROS 2 is built from source.
If there are additional notes you believe would be useful to include in the guide based on the above I’d be happy to work on a PR for these.
For others visiting this thread due to the build error involving eigen_stl_containers not being found, consider installing ROS 2 via Debian packages as in the guide I found that the MoveIt 2 build worked seamlessly thereafter.