Path planner issues : collisions

Typically: "How do I... ", "How can I... " questions
Post Reply
Julien_Demetra
Posts: 11
Joined: 08 Mar 2019, 08:48

Path planner issues : collisions

Post by Julien_Demetra » 08 Mar 2019, 10:00

Hello,


I create this post because I’m having hard times trying to solve path planning issues on VREP.

I am trying to use the OMPL path planner to find non colliding path in a quite constrained environment.
You can find an extract of my scene here :
https://drive.google.com/file/d/0B2UQEe ... p=drivesdk
(just press play and the robot will go from one dummy to another and you will see sometimes collisions)

The problem is that is doesn’t work every time, I’d say it has 70% chance of working but it is not enough for my project.
Indeed the path planner:
- Sometimes doesn’t find the complete path, it stops before the goal dummy
- Sometimes it creates a path with collision in the middle of the path which is problematic

I don’t understand why sometimes the path planner returns me a path that contains collision along the path. I tried several OMPL algorithm but it didn’t solve the problem. Could anyone help me ?

Thanks in advance,

Julien

coppelia
Site Admin
Posts: 7124
Joined: 14 Dec 2012, 00:25

Re: Path planner issues : collisions

Post by coppelia » 08 Mar 2019, 13:37

Hello,

I think there are 2 things at play:
  • if the goal isn't reached, it most probably is because the max. calculation time has been exceeded
  • if there are collisions on the way, this is because your checking resolution is too large (the robot can jump over obstacles from one collision-free node to the other). Maybe adjusting things with simOMPL.setStateValidityCheckingResolution can help?
Cheers

Julien_Demetra
Posts: 11
Joined: 08 Mar 2019, 08:48

Re: Path planner issues : collisions

Post by Julien_Demetra » 21 Mar 2019, 16:57

Hello,

It looks like it's working now with your two advices.

Thanks a lot !

Cheers,

Julien

Jacky
Posts: 9
Joined: 29 Jan 2019, 23:14

Re: Path planner issues : collisions

Post by Jacky » 15 May 2019, 14:09

Hi, Friends:

Sorry for bothering, Can I have any idea to how to using simOMPL.setStateValidityCheckingResolution?

Thanks for your time, looking forward to your reply!


Yours Sincerely
Jack

coppelia
Site Admin
Posts: 7124
Joined: 14 Dec 2012, 00:25

Re: Path planner issues : collisions

Post by coppelia » 17 May 2019, 10:40

As the documentation states, specify the resolution of state validity checking, expressed as fraction of state space's extent . If the extent of your space is 1 meter and your smallest obstacle / robot is 0.1 meter, then specify a value smaller than 0.1

Cheers

Jacky
Posts: 9
Joined: 29 Jan 2019, 23:14

Re: Path planner issues : collisions

Post by Jacky » 22 May 2019, 23:17

Hi, Coppelia:

Thanks you so much!


Yours Sincerely
Jack

Post Reply