-
Notifications
You must be signed in to change notification settings - Fork 682
Description
Description
The hello_moveit.cpp from the moveit tutorials gives an error when run after launching a modified version of the demo.launch.py (from this point called modified_demo.launch.py ) file in the moveit_resources_panda_moveit_config package installed from binary.
The modification made to the demo.launch.py was inclusion of octomap_config and octomap_updater_config. These are passed as parameters to the move_group node. A static transform publisher node for a transform between the sensor and robot is also added to the launch file.
Is there a reason why hello_moveit.cpp from the tutorials works for the demo.launch.py but not when it is modified to use the occupancy map monitor plug in?
What can I do to make it work?
Your environment
- ROS Distro: Humble
- OS Version: Ubuntu 22.04
- Binary build
- moveit version 2.5.4-Alpha
Steps to reproduce
- Modify demo.launch.py from moveit_resources_panda_moveit_config to include use of the occupancy map monitor by passing octomap_config and octomap_updater_config (which is loading the sensors3d.yaml file) to the move_group node. Also create a static transform between panda_link0 and the camera.
- Launch the modified_demo.launch.py file
- Run the hello_moveit executable from the moveit tutorials
Expected behaviour
Expected behavior is the robot plans and execute the plan for movement to desired pose as it does in the tutorials but considering the octomap as collisions as well.

When hello_moveit is run, the console should show:
[INFO] [1672998878.468416619] [moveit_rdf_loader.rdf_loader]: Loaded robot model in 0.913291 seconds [INFO] [1672998878.468490889] [moveit_robot_model.robot_model]: Loading robot model 'panda'... [WARN] [1672998878.479513849] [moveit_ros.robot_model_loader]: No kinematics plugins defined. Fill and load kinematics.yaml! [INFO] [1672998878.509538800] [move_group_interface]: Ready to take commands for planning group panda_arm. [INFO] [1672998878.511006317] [hello_moveit.remote_control]: RemoteControl Ready. [INFO] [1672998878.540426754] [hello_moveit.remote_control]: Waiting to continue: Press 'next' in the RvizVisualToolsGui window to plan [INFO] [1672998892.671144197] [hello_moveit.remote_control]: ... continuing [INFO] [1672998892.674363876] [move_group_interface]: MoveGroup action client/server ready [INFO] [1672998892.675401208] [move_group_interface]: Planning request accepted [INFO] [1672998892.814546036] [move_group_interface]: Planning request complete! [INFO] [1672998892.874845633] [move_group_interface]: time taken to generate plan: 0.0564173 seconds [INFO] [1672998892.876929978] [hello_moveit.remote_control]: Waiting to continue: Press 'next' in the RvizVisualToolsGui window to execute [INFO] [1672998902.382881790] [hello_moveit.remote_control]: ... continuing [INFO] [1672998902.384829591] [move_group_interface]: Execute request accepted
Actual behaviour
After launching the modified_demo.launch.py and then run the hello_moveit package from the moveit tutorials, you see the following error:
[ERROR] [1672992484.308163480] [hello_moveit]: Could not find parameter robot_description_semantic and did not receive robot_description_semantic via std_msgs::msg::String subscription within 10.000000 seconds. Error: Could not parse the SRDF XML File. Error=XML_ERROR_EMPTY_DOCUMENT ErrorID=13 (0xd) Line number=0 at line 715 in ./src/model.cpp [ERROR] [1672992484.389012759] [moveit_rdf_loader.rdf_loader]: Unable to parse SRDF [FATAL] [1672992484.389099204] [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. [ros2run]: Aborted
