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
Issue with robot_description_semantic in running the tutorial "Your first C++ MoveIt Project" #528
Comments
Thank you for the bug report. I'll try to reproduce this to see if I can figure out what is broken. |
Hello, I just tried reproducing the results you found and it worked for me. In my first terminal I ran the command:
In the second terminal I ran this command:
Here is the output from the second command:
With rviz running if I run this command to see if move_group is configured correctly to publish the description I get true:
Do you mind running this command in the source directory of your workspace and pasting the output in the issue here. For comparison here is what is in my workspace;
|
@tylerjw When I run the command
|
Sweet, I think I know what happened. That looks like you checked out the rolling version of the tutorials and not the humble version. That means that you also built a workspace that is setup for rolling and not humble. Please delete the code in your source directory and start over on this starting with the Download Source step of getting started: |
Ok. I will build again and let you know. |
Thanks. It works now. |
I have the same problem, I use
|
Hi, I have the same problem, I use Ubuntu20.04, ros foxy, moveit2, and I git clone moveit2_tutorials foxy branch |
Just cross-referencing for the future readers, I think this ticket and answers.ros.org#407290 are opened by the same person about the same question. |
I use the galactic branch and have also the same problem.
|
We removed the galactic and foxy versions of the tutorials from the site because there are issues with them; they are EOL versions of ROS and are not supported. |
Same problem with humble, too. |
Thanks, it worked for me, am using ROS2 humble |
Description and Steps to reproduce
I am trying to run the Your First C++ MoveIt Project. The code I used is hello_moveit.cpp which is provided at the end of tutorial webpage. When I run
ros2 run hello_moveit hello_moveit
, I get this errorBefore running the command
ros2 run hello_moveit hello_moveit
, I did runros2 launch moveit2_tutorials demo.launch.py
as mentioned in the tutorial.The error mentions could not find
robot_description_semantic
but when I run the commandros2 param get | grep robot_description_semantic
, I get 6 results from the nodes/move_group, /moveit_simple_controller_manager
and/rviz2
. Each of the mentioned nodes has 2 parametersrobot_description_semantic
andpublish_description_semantic
which makes 6 parameters as reported bygrep
.I try to check what is in
robot_description_semantic
for each of the nodes usingros2 param get <node_name> robot_description_semantic
, I get the same result for each of them which is probably a URDF file.Now, I check for
publish_robot_description_semantic
in each of those nodes.For
/move_group
and/moveit_simple_controller_manager
, I getBoolean Value is: False
and for/rviz2
I getParameter not set
.In this comment, #262 (comment) it was mentioned about setting
"publish_robot_description_semantic"
toTrue
. So, I try to do this.For
/move_group
node, I setpublish_robot_description_semantic
parameter to True but still not able to runros2 run hello_moveit hello_moveit
. Then, I tried to do for/rviz2
, it gets set successfully to True but still the code does not run. Then, I try for/moveit_simple_controller_manager
, the parameter change command returnsSetting parameter failed
.Your environment
Expected behaviour
ros2 run hello_moveit hello_moveit
should run and move the arm to the desired pose as mentioned in hello_moveit.cpp.The text was updated successfully, but these errors were encountered: