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

Humble MoveIt2 Moveit_servo #2987

Closed
kavikode opened this issue Sep 2, 2024 · 3 comments
Closed

Humble MoveIt2 Moveit_servo #2987

kavikode opened this issue Sep 2, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@kavikode
Copy link

kavikode commented Sep 2, 2024

moveit2/moveit_ros/moveit_servo/test/servo_launch_test_common.hpp:54:10: fatal error: moveit_msgs/srv/change_drift_dimensions.hpp: No such file or directory
54 | #include <moveit_msgs/srv/change_drift_dimensions.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

ROS2 Humble on Ubuntu 22.04

even though I used
git clone -b humble https://github.com/moveit/moveit2_tutorials
vcs import --recursive < moveit2_tutorials/moveit2_tutorials.repos
sudo apt update && rosdep install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y
cd ..
source /opt/ros/humble/setup.bash
colcon build --mixin release --executor sequential

It still does not compile in order to use motion planning API in C++.

Please provide assistance.
Thank you

@kavikode kavikode added the bug Something isn't working label Sep 2, 2024
@AndyZe
Copy link
Member

AndyZe commented Sep 2, 2024

Check if you're on the humble branch of moveit_msgs. The missing service appears to be there:

https://github.com/moveit/moveit_msgs/blob/humble/srv/ChangeDriftDimensions.srv

@kavikode
Copy link
Author

kavikode commented Sep 3, 2024

thank you so much! It seems the following was necessary:

git clone --branch humble https://github.com/ros-planning/moveit2_tutorials.git
git clone https://github.com/moveit/moveit2.git --branch humble

vcs import < moveit2_tutorials/moveit2_tutorials.repos
for repo in moveit2/moveit2.repos $(f="moveit2/moveit2_$ROS_DISTRO.repos"; test -r $f && echo $f); do vcs import < "$repo"; done

@sea-bass
Copy link
Contributor

Thanks for confirming!

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

3 participants