Skip to content
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

Set desired/max Cartesian end-effector speed #276

Open
gautz opened this issue Jun 23, 2021 · 2 comments
Open

Set desired/max Cartesian end-effector speed #276

gautz opened this issue Jun 23, 2021 · 2 comments

Comments

@gautz
Copy link

gautz commented Jun 23, 2021

setMaxCartesianEndEffectorSpeed() should soon be available through the MoveGroup interface. Which would be the proper way to get a similar functionality in e.g. a moveTo stage? Is there some plan on integrating this?

This is following my issue on using MTC for welding #251

@rhaschke
Copy link
Contributor

rhaschke commented Jun 24, 2021

Velocity-related stuff is not configured in individual stages, but via the properties of a PlannerInterface:
https://github.com/ros-planning/moveit_task_constructor/blob/ee6c50ad31402b00fc4b8a0d8fcd62b1c85c27b7/core/src/solvers/planner_interface.cpp#L47-L48

These are finally used to configure the MotionPlanRequest:
https://github.com/ros-planning/moveit_task_constructor/blob/4fa8c10f4456e893e09212b51a06b3d2ec4e9266/core/src/solvers/pipeline_planner.cpp#L150-L151

However, as these settings are only passed to pipeline planners, they will not become effective for the CartesianPath planner!

@v4hn
Copy link
Contributor

v4hn commented Jun 25, 2021

However, as these settings are only passed to pipeline planners, they will not become effective for the CartesianPath planner!

So basically, the max Cartesian speed parameter can be added to the PipelinePlanner straight away and all standard velocity parameters could be added to the other solvers as well. Adding the EEF Cartesian velocity to CartesianPath is quite a good idea I think.

Also, I would provide a WrapperBase container that can adapt all three time parameters for arbitrary stages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants