ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Defining joint bounds for moveit

asked 2019-07-16 08:26:41 -0500

Kolohe113 gravatar image

I was trying to use getActiveJointModelsBounds() from Moveit. I am assuming Moveit get the bound values from some urdf/xacro files. If I create a new robot model and define its joint using urdf, can Moveit automatically detect the upper bound and lower bound just by reading the urdf file?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2019-07-16 08:37:50 -0500

gvdhoorn gravatar image

If I create a new robot model and define its joint using urdf, can Moveit automatically detect the upper bound and lower bound just by reading the urdf file?

yes.

In normal MoveIt configuration packages the planning_context.launch file will also load a joint_limits.yaml file from the config directory which allows you / your users to override those limits (here).

So if has_position_limits is true in that file, the position limit from the urdf will not be used (or: will be overridden by the value in that .yaml file).

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2019-07-16 08:26:41 -0500

Seen: 773 times

Last updated: Jul 16 '19