-
Notifications
You must be signed in to change notification settings - Fork 692
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
Compile error in moveit_cpp_tutorial: ‘moveit_cpp’ was not declared in this scope; did you mean ‘moveit_cpp_ptr’? #613
Comments
Thanks for reporting an issue. Because we're a volunteer community, providing a pull request with suggested changes is always welcomed. |
Yes, #549 caused this, which goes in sync with moveit/moveit#2127, moveit/moveit_msgs#95, and moveit/moveit_resources#47. Until the next release is out, you will need to build all those packages from source to use the latest versions. Alternatively, rollback moveit_tutorials as suggested in #613 (comment). |
@robotrapta sorry for the inconvenience |
No worries! I understand that multi-package upgrades are tricky, but necessary for long-term code health. I have what I need. Maybe leave this open until the release is done so it's easier for others to find the workaround? Do search engines prioritize open issues vs closed? IDK. |
if you look up the source code of the MoveItCpp class, you will find the MoveItCpp's namespace is moveit::planning_interface not moveit_cpp, so replace the moveit_cpp with moveit::planning_interface, then it works. |
@rhaschke If the namespaces are aliased, I'm throwing in a +1 for reopening and merging #614 so that future travelers aren't tripped up by this. Then, when things are synced, just change the namespacing back. Otherwise, at minimum, leave a temporary note in the example code...? This bug is dumb. |
Description
I'm getting a compiler error when following the getting started instructions for the tutorial on a clean Ubuntu 20.04+Noetic machine. (Arm64 FWIW)
Overview of your issue here.
Your environment
Steps to reproduce
On a fresh EC2 graviton instance with Ubuntu 20.04, install Noetic, and follow the tutorial setup instructions https://ros-planning.github.io/moveit_tutorials/doc/getting_started/getting_started.html
When I get to
catkin build
it crashes. Same results regardless of whether I include MoveIt source or not.Expected behaviour
Successful build
Backtrace or Console output
The text was updated successfully, but these errors were encountered: