You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried following the "Your First C++ MoveIt Project" but on running my new node it outputs the following : [ERROR] [1677885102.756933441] [moveit2_unity_node]: Could not find parameter robot_description_semantic and did not receive robot_description_semantic via std_msgs::msg::String subscription within 10.000000 seconds. Parsing robot urdf xml string. Error: Could not parse the SRDF XML File. Error=XML_ERROR_EMPTY_DOCUMENT ErrorID=15 (0xf) Line number=0 at line 694 in /tmp/binarydeb/ros-foxy-srdfdom-2.0.2/src/model.cpp [ERROR] [1677885102.760612081] [moveit_rdf_loader.rdf_loader]: Unable to parse SRDF [FATAL] [1677885102.761152701] [move_group_interface]: Unable to construct robot model. Please make sure all needed information is on the parameter server. terminate called after throwing an instance of 'std::runtime_error' what(): Unable to construct robot model. Please make sure all needed information is on the parameter server.
after some inspection I can see that the node doesn't have the required rosparamters , however, the documentation doesn't state that I should create a launch file or pass in the parameters anywhere else.
this is the exact error mentioned here #528 However the solution for the mentioned issue was to follow the "Humble installation guide" and I followed it , with changing Humble branch with foxy branch in this step git clone https://github.com/ros-planning/moveit2_tutorials -b humble --depth 1 -> git clone https://github.com/ros-planning/moveit2_tutorials -b foxy --depth 1
I'm not aware of any other changes that I should do
for anyone still facing this in the future , add these paramters into the demo.launch.py in the moveit2_tutorials "publish_robot_description": True, "publish_robot_description_semantic": True, this was mentioned in another issue but I missed it.
Description
Tried following the "Your First C++ MoveIt Project" but on running my new node it outputs the following :
[ERROR] [1677885102.756933441] [moveit2_unity_node]: Could not find parameter robot_description_semantic and did not receive robot_description_semantic via std_msgs::msg::String subscription within 10.000000 seconds. Parsing robot urdf xml string. Error: Could not parse the SRDF XML File. Error=XML_ERROR_EMPTY_DOCUMENT ErrorID=15 (0xf) Line number=0 at line 694 in /tmp/binarydeb/ros-foxy-srdfdom-2.0.2/src/model.cpp [ERROR] [1677885102.760612081] [moveit_rdf_loader.rdf_loader]: Unable to parse SRDF [FATAL] [1677885102.761152701] [move_group_interface]: Unable to construct robot model. Please make sure all needed information is on the parameter server. terminate called after throwing an instance of 'std::runtime_error' what(): Unable to construct robot model. Please make sure all needed information is on the parameter server.
after some inspection I can see that the node doesn't have the required rosparamters , however, the documentation doesn't state that I should create a launch file or pass in the parameters anywhere else.
this is the exact error mentioned here #528 However the solution for the mentioned issue was to follow the "Humble installation guide" and I followed it , with changing Humble branch with foxy branch in this step
git clone https://github.com/ros-planning/moveit2_tutorials -b humble --depth 1
->git clone https://github.com/ros-planning/moveit2_tutorials -b foxy --depth 1
I'm not aware of any other changes that I should do
Your environment
Steps to reproduce
Follow the exact steps of the https://moveit.picknik.ai/humble/doc/tutorials/your_first_project/your_first_project.html
tille the "Build and run" Section
Expected behaviour
Node runs and robot in Rviz start excuting the planned motion
The text was updated successfully, but these errors were encountered: