Open VincentDelort opened 1 year ago
UPDATE : if you move forward and add at least the "PICK" container stage with all its sub-stages, the demo works and the task can be executed...
Have I missed something?
Looks like the sampling_frequency
passed to TrajectoryMonitor is zero:
[move_group-4] 412: double sampling_frequency = 0.0;
[move_group-4] 413: node_->get_parameter_or("plan_execution.record_trajectory_state_frequency", sampling_frequency, 0.0);
[move_group-4] > 414: trajectory_monitor_ = std::make_shared<planning_scene_monitor::TrajectoryMonitor>(
[move_group-4] 415: planning_scene_monitor_->getStateMonitor(), sampling_frequency);
I actually resolved this on main in https://github.com/ros-planning/moveit2/pull/2423 -- I guess the Docker image must not yet have this change?
Description
Hi,
I cannot run the "Pick and Place with MoveIt Task Constructor" tutorial demo with the provided
moveit2_container
docker image : demo fails at the task execution step (last step) of5. Running the demo
Your environment
rolling-tutorial
docker image provided by the MoveIt2 tutorialImage inspect:
Steps to reproduce
rolling-tutorial
as target image).src/mtc_tutorial/src/mtc_node.cpp
. Comment out / delete its content and replace by the initial code available in the "Pick and Place with MoveIt2 Task Constructor" tutorial at 4.2. The code. Note: keep the default interpolation_planner.(The tutorial says
--mixin release
but the debug info might be useful...)(Check that RViz configuration matches "5.2. RViz configuration"... this should be OK since we pulled the docker image)
Expected behaviour
Should run as described by the tutorial to the end.
Backtrace or Console output
Demo (
mtc_demo_launch.py
) crashes at the execution step (full verbosity below) :In RViz, the planned path is displayed (transparent object) but not executed:
Note: if trying to replace the interpolation planner by the sampling or cartesian planner, the demo crashes even sooner (either during planning or during task initialisation).
I tried to Google "rate must be greater than 0" but I failed to find anything related to MoveIt.
I have checked for other Issues and I don't thing that this has already been reported...
Thank you for any help you can provide!