-
Notifications
You must be signed in to change notification settings - Fork 158
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
Using ExecuteTaskSolutionCapability to execute a solution is overriding the joint state values #353
Comments
…ask's solution - Fix: moveit#353
I guess the differences between actual joint state values (after execution) and those in |
…ask's solution - Fix: moveit#353
…ask's solution - Fix: moveit#353
…ask's solution - Fix: moveit#353
…ask's solution - Fix: moveit#353
…ask's solution - Fix: moveit#353
Implement generic pose randomizer add new property to configure controller info for traj execution Don't override joint state in planning scene monitor when executing task's solution - Fix: moveit#353 Refactor creating an executable trajectory in a helper lambda Make mtc execute solution capability apply scene diffs before executing trajectory Run goalCallback in a seperate asynchronously Use modern cmake Explicitly instantiate computeGeneric templates Add install interface for the include directory Replace boost::function with std::function
…ask's solution - Fix: moveit#353
…ask's solution - Fix: moveit#353
…ng trajectory Don't override joint state in planning scene monitor when executing task's solution - Fix: moveit#353 Refactor creating an executable trajectory in a helper lambda Make mtc execute solution capability apply scene diffs before executing trajectory
…ng trajectory Don't override joint state in planning scene monitor when executing task's solution - Fix: moveit#353 Refactor creating an executable trajectory in a helper lambda Make mtc execute solution capability apply scene diffs before executing trajectory
…ng trajectory Don't override joint state in planning scene monitor when executing task's solution - Fix: moveit#353 Refactor creating an executable trajectory in a helper lambda Make mtc execute solution capability apply scene diffs before executing trajectory Fix compiler issues Clang-tidy fixes Copy planning scene to modify it
I think this is addressed with #498. Please re-open if not. |
While #498 addresses the issue in option 2, that is only true if the execute function is called within MTC. However, if a goal is sent to the execution_task_solution server directly (separate from within the execute function in MTC), then the joint values in that goal's trajectories will still override the joint state values. Hence I think option 1 is really the way to go to address this issue. |
Joints are handled in trajectories. Scene diffs should not modify joints during execution. Fixes #353.
Joints are handled in trajectories. Scene diffs should not modify joints during execution. Fixes moveit#353. Alternative to moveit#504. The previous solution, to always clear the joint states during message generation, broke the visualization in rviz.
This is happening because in execute_task_solution_capability.cpp#L179 it modifies the state in the planning scene monitor which overrides the values from
/joint_states
,/tf
,/tf_static
topicsPossible fixes could be
1- Reset the robot_state's joint_state and multi_dof_joint_state for scene_diff before applying the planning scene
2- In task.cpp#L268-L269 after we fill up the message we reset those variables
Let me know which solution you prefer so I open a PR with the patch
The text was updated successfully, but these errors were encountered: