moveit / moveit2_tutorials

A sphinx-based centralized documentation repo for MoveIt 2
https://moveit.picknik.ai
BSD 3-Clause "New" or "Revised" License
150 stars 191 forks source link

Found empty JointState message #767

Closed ravijo closed 9 months ago

ravijo commented 12 months ago

Description

I am following the MoveIt tutorials and have stumbled upon a problem. The command ros2 launch moveit2_tutorials motion_planning_pipeline_tutorial.launch.py reports Found empty JointState message

Your environment

Steps to reproduce

$ ros2 launch moveit2_tutorials move_group.launch.py
$ ros2 launch moveit2_tutorials motion_planning_pipeline_tutorial.launch.py

Console output

The /joint_states topic is available and contains values as shown below:

ravijo commented 11 months ago

Update

It works on ROS Humble upto some extent. Below are the logs:

$ ros2 launch moveit2_tutorials motion_planning_api_tutorial.launch.py
[INFO] [launch]: All log files can be found below /home/user/.ros/log/2023-10-03-06-10-04-802015-dell-2523
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [motion_planning_api_tutorial-1]: process started with pid [2530]
[motion_planning_api_tutorial-1] [INFO] [1696313405.093249169] [moveit_rdf_loader.rdf_loader]: Loaded robot model in 0.00431912 seconds
[motion_planning_api_tutorial-1] [INFO] [1696313405.093315649] [moveit_robot_model.robot_model]: Loading robot model 'panda'...
[motion_planning_api_tutorial-1] [INFO] [1696313405.143881242] [motion_planning_api_tutorial]: Using planning interface 'OMPL'
[motion_planning_api_tutorial-1] [INFO] [1696313405.146246596] [moveit_rdf_loader.rdf_loader]: Loaded robot model in 0.00213542 seconds
[motion_planning_api_tutorial-1] [INFO] [1696313405.146264625] [moveit_robot_model.robot_model]: Loading robot model 'panda'...
[motion_planning_api_tutorial-1] [INFO] [1696313405.174273099] [move_group_interface]: Ready to take commands for planning group panda_arm.
[motion_planning_api_tutorial-1] [INFO] [1696313405.175977917] [motion_planning_api_tutorial.remote_control]: RemoteControl Ready.
[motion_planning_api_tutorial-1] [INFO] [1696313405.176075675] [motion_planning_api_tutorial.remote_control]: Waiting to continue: Press 'next' in the RvizVisualToolsGui window to start the demo
[motion_planning_api_tutorial-1] [INFO] [1696313408.399002217] [motion_planning_api_tutorial.remote_control]: ... continuing
[motion_planning_api_tutorial-1] [ERROR] [1696313408.399314911] [moveit_robot_state.conversions]: Found empty JointState message
[motion_planning_api_tutorial-1] [INFO] [1696313408.399331515] [moveit_planning_interface.planning_interface]: The timeout for planning must be positive (0.000000 specified). Assuming one second instead.
[motion_planning_api_tutorial-1] [WARN] [1696313408.399346802] [moveit.ompl_planning.model_based_planning_context]: It looks like the planning volume was not specified.
[motion_planning_api_tutorial-1] [INFO] [1696313408.399620870] [moveit.ompl_planning.model_based_planning_context]: Planner configuration 'panda_arm' will use planner 'geometric::RRTConnect'. Additional configuration parameters will be set when the planner is constructed.
[motion_planning_api_tutorial-1] [INFO] [1696313408.462488180] [motion_planning_api_tutorial.remote_control]: Waiting to continue: Press 'next' in the RvizVisualToolsGui window to continue the demo
[motion_planning_api_tutorial-1] [INFO] [1696313411.842841182] [motion_planning_api_tutorial.remote_control]: ... continuing
[motion_planning_api_tutorial-1] [ERROR] [1696313411.842930671] [moveit_robot_state.conversions]: Found empty JointState message
[motion_planning_api_tutorial-1] [INFO] [1696313411.842944733] [moveit_planning_interface.planning_interface]: The timeout for planning must be positive (0.000000 specified). Assuming one second instead.
[motion_planning_api_tutorial-1] [WARN] [1696313411.842955330] [moveit.ompl_planning.model_based_planning_context]: It looks like the planning volume was not specified.
[motion_planning_api_tutorial-1] [INFO] [1696313411.843088253] [moveit.ompl_planning.model_based_planning_context]: Planner configuration 'panda_arm' will use planner 'geometric::RRTConnect'. Additional configuration parameters will be set when the planner is constructed.
[motion_planning_api_tutorial-1] [INFO] [1696313411.883744284] [motion_planning_api_tutorial.remote_control]: Waiting to continue: Press 'next' in the RvizVisualToolsGui window to continue the demo
[motion_planning_api_tutorial-1] [INFO] [1696313415.204878067] [motion_planning_api_tutorial.remote_control]: ... continuing
[motion_planning_api_tutorial-1] [ERROR] [1696313415.205031333] [moveit_robot_state.conversions]: Found empty JointState message
[motion_planning_api_tutorial-1] [INFO] [1696313415.205064965] [moveit_planning_interface.planning_interface]: The timeout for planning must be positive (0.000000 specified). Assuming one second instead.
[motion_planning_api_tutorial-1] [WARN] [1696313415.205077733] [moveit.ompl_planning.model_based_planning_context]: It looks like the planning volume was not specified.
[motion_planning_api_tutorial-1] [INFO] [1696313415.205233270] [moveit.ompl_planning.model_based_planning_context]: Planner configuration 'panda_arm' will use planner 'geometric::RRTConnect'. Additional configuration parameters will be set when the planner is constructed.
[motion_planning_api_tutorial-1] [INFO] [1696313415.269014417] [motion_planning_api_tutorial.remote_control]: Waiting to continue: Press 'next' in the RvizVisualToolsGui window to continue the demo
[motion_planning_api_tutorial-1] [INFO] [1696313420.501440511] [motion_planning_api_tutorial.remote_control]: ... continuing
[motion_planning_api_tutorial-1] [ERROR] [1696313420.501666876] [moveit_robot_state.conversions]: Found empty JointState message
[motion_planning_api_tutorial-1] [INFO] [1696313420.501679984] [moveit_planning_interface.planning_interface]: The timeout for planning must be positive (0.000000 specified). Assuming one second instead.
[motion_planning_api_tutorial-1] [INFO] [1696313420.501856293] [moveit.ompl_planning.model_based_planning_context]: Planner configuration 'panda_arm' will use planner 'geometric::RRTConnect'. Additional configuration parameters will be set when the planner is constructed.
[motion_planning_api_tutorial-1] [INFO] [1696313420.501998701] [moveit.ompl_planning.model_based_planning_context]: panda_arm: Allocating specialized state sampler for state space
[motion_planning_api_tutorial-1] [INFO] [1696313420.824221586] [moveit.ompl_planning.model_based_planning_context]: panda_arm: Allocating specialized state sampler for state space
[motion_planning_api_tutorial-1] [INFO] [1696313451.645103354] [moveit.ompl_planning.model_based_planning_context]: panda_arm: Allocating specialized state sampler for state space
[motion_planning_api_tutorial-1] [INFO] [1696313518.124123902] [moveit.ompl_planning.model_based_planning_context]: panda_arm: Allocating specialized state sampler for state space
[motion_planning_api_tutorial-1] [INFO] [1696313528.216164403] [moveit.ompl_planning.model_based_planning_context]: panda_arm: Allocating specialized state sampler for state space
[motion_planning_api_tutorial-1] [INFO] [1696313528.216216037] [moveit.ompl_planning.model_based_planning_context]: panda_arm: Allocating specialized state sampler for state space
[motion_planning_api_tutorial-1] [INFO] [1696313530.097684352] [moveit.ompl_planning.model_based_planning_context]: panda_arm: Allocating specialized state sampler for state space
[motion_planning_api_tutorial-1] [INFO] [1696313603.897592122] [moveit.ompl_planning.model_based_planning_context]: panda_arm: Allocating specialized state sampler for state space
[motion_planning_api_tutorial-1] [INFO] [1696313604.020316735] [motion_planning_api_tutorial.remote_control]: Waiting to continue: Press 'next' in the RvizVisualToolsGui window to exit the demo
[motion_planning_api_tutorial-1] [INFO] [1696313719.011950316] [motion_planning_api_tutorial.remote_control]: ... continuing
[INFO] [motion_planning_api_tutorial-1]: process has finished cleanly [pid 2530]
tylerjw commented 9 months ago

We were not able to reproduce.