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

Is there any examples to use approximate constraint manifold in moveit?

asked 2021-11-03 10:37:17 -0500

xibeisiber gravatar image

updated 2021-11-07 20:43:14 -0500

Hi all, I intend to do planning with approximated constraint manifold to make sure that the end effector can only rotate along the z_axis of the base link. Following the tutorial, I generated and loaded the database, but not sure know how to use it in move_group c++ interface.

Another question: Can I load two constraint databases when launching move_group? or Can I include two constraints in one database?

Thanks for any help!

edit retag flag offensive close merge delete

Comments

Another question: Can I load two constraint databases when launching move_group? or Can I include two constraints in one database?

Do not post follow-up questions as edits to questions which have already been answered.

Your follow-up question has almost 0 visibility.

You should post a new question.

gvdhoorn gravatar image gvdhoorn  ( 2021-11-08 01:37:13 -0500 )edit

Gijs is right, I would not have seen this without his comment. I edited the answer below.

v4hn gravatar image v4hn  ( 2021-11-08 03:30:07 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-11-03 19:53:34 -0500

xibeisiber gravatar image

updated 2021-11-08 03:29:29 -0500

v4hn gravatar image

as answered by @v4hn here: https://github.com/ros-planning/movei....

The move_group node loads the database on startup and registers the name of the constraint that you defined when you generated the database. To use it for planning you just have to set a path constraint with the same constraint name. Make sure you also add the full constraint specification there as well though because this message is still used to check transitions between the stored states.

Edit for second question:

You configure the constraint database by setting the folder path as a ros parameter:

<param name="move_group/constraint_approximations_path" value="$(find package)/cadb"/>

I believe any constraint approximation database file you store in that folder will be considered at runtime.

edit flag offensive delete link more

Comments

Thanks for your answer. I managed to do this by setting the folder path and combining the manifest info of two databases into one manifest file.

xibeisiber gravatar image xibeisiber  ( 2021-11-09 07:07:19 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2021-11-03 10:37:17 -0500

Seen: 115 times

Last updated: Nov 08 '21