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

Set cartesian limits with moveit!

asked 2022-07-08 09:12:44 -0600

mth_sousa gravatar image

Hello! I'm working with moveit in ros melodic and a Hyundai robot. When I generated the robot files I found a file labeled cartesian_limits.yaml as show below:

cartesian_limits:
  max_trans_vel: 18
  max_trans_acc: 20
  max_trans_dec: -30
  max_rot_vel: 15.7

Is it possible to set cartesian limits with moveit?

I want the robot to not move outside a defined box. Something like:

x_min_limit = -0.4
x_max_limit = 1.5

My Hyundai robot has this function and I want to implement it in the simulation to avoid wierd paths.

Is it possible to set this kind of function in cartesian_limits.yaml file?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-07-08 09:41:28 -0600

AndyZe gravatar image

Nope, that cartesian_limits.yaml is for velocities and accelerations and it's only used for the Pilz motion planner. We probably should rename that file to make it more clear - thanks for the reminder.

On ROS2 Rolling or Humble you can use constrained planning to do what you want. Tutorial here:

https://moveit.picknik.ai/main/doc/ex...

To be honest I'm not sure if the "constraint manifolds" planning works in ROS1. Probably not Melodic since it's quite old now.

edit flag offensive delete link more

Comments

I would also recommend trying the PRM* planner rather than the default RRTConnect. RRTConnect is fast to plan but it produces wild paths often.

AndyZe gravatar image AndyZe  ( 2022-07-08 09:44:49 -0600 )edit

Thanks for your answer! I will check PRM*

mth_sousa gravatar image mth_sousa  ( 2022-07-08 11:34:07 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2022-07-08 09:12:44 -0600

Seen: 481 times

Last updated: Jul 08 '22