Trajectory segmentation into curved intervalls

asked 2019-09-27 02:32:17 -0600

cpetersmeier gravatar image

updated 2019-09-27 03:45:17 -0600

I plan a trajectory for a 6-dof industrial robot arm, then visualizing it in rviz. Other than testing different OMPL planners, I have left every setting at default.

Why is the trajectory segmented into smooth curved intervalls? Within obstacle region these intervalls get smaller, but why do they exist at the first place? Connection of these intervalls is done with a geometric "jump", i.e. the next segment starts in a completely different direction. I have read about configuration parameters like the longest_valid_segment. Please correct me if I am wrong, but this setting only affects collision checking in configuration space, so I dont see that it is interrelated with the described phenomenon.

EDIT:

I uploaded an example picture on github.

edit retag flag offensive close merge delete

Comments

1

Can you clarify a bit what exactly do you mean by "curved intervals"? OMPL, using RRT, will plan in joint space. I assume you are familiar with the fact that linear interpolation in joint space will result in curves in a Cartesian space.

gvdhoorn gravatar imagegvdhoorn ( 2019-09-27 03:17:35 -0600 )edit

For clarification, I added a picture of the trajectory in the original question. From the documentation I have found online on the OMPL website, I assumed that all planning algorithms in OMPL plan in configuration space ( == joint space (?) )?

cpetersmeier gravatar imagecpetersmeier ( 2019-09-27 03:47:38 -0600 )edit

There is also this thread related to this question, stating configuration space based planning for OMPL planners.

cpetersmeier gravatar imagecpetersmeier ( 2019-09-27 04:01:10 -0600 )edit

For non-redundant robots I believe you can say joint space == c space. That doesn't change my initial comment though. c space != cartesian space (in this case).

re: picture: please just attach that to your post. Try to avoid linking to off-site resources, as if/when they disappear, this question will have lost some of its value.

gvdhoorn gravatar imagegvdhoorn ( 2019-09-27 06:01:02 -0600 )edit

re: picture: Unfortunateley I was not able to: ">5 points required to upload files". I will add the picture as soon as I have control.

If RRTstar in this case operates in c-space, it is clear to me why the trajectory line in cartesian space is curved. However, I dont understand why the path is divided into several curved lines. It seems like there is some mechanism splitting the path up and providing RRTstar subproblems to solve, then afterwards stiching them together. I observed that in regions, where edges of geometric obstacles lie (a box for example), the path segments get more short.

Can you point me into a direction where this might come from? My first guess would be a planning adapter by the planning pipeline.

cpetersmeier gravatar imagecpetersmeier ( 2019-09-27 06:54:33 -0600 )edit