Adjusting search parameters

Typically: "How do I... ", "How can I... " questions
Post Reply
adityaraj52
Posts: 11
Joined: 19 Jun 2013, 14:29

Adjusting search parameters

Post by adityaraj52 » 10 Jul 2013, 14:52

Can we Adjust the search parameters(minimum and maximum x and y range ) in pathplanning dynamically?
What I mean by dynamic calculation is that Can i adjust those parameters from childscript.

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

Re: Adjusting search parameters

Post by coppelia » 10 Jul 2013, 17:19

Hello,

As in version 3.0.4 this is not possible, but we added it for next release, since it makes sense. So, from V-REP 3.0.5 you will be able to modifiy the range with:

Code: Select all

simSetObjectFloatParameter(pathPlanningObjectHandle,a,b)
where x indicates what you want to change:
  • a=20000 --> modify the x min
  • a=20001 --> modify the x range
  • a=20002 --> modify the y min
  • a=20003 --> modify the y range
  • a=20004 --> modify the z min
  • a=20005 --> modify the z range
  • a=20006 --> modify the delta min
  • a=20007 --> modify the delta range
and b is the value (min. value or range value).

If you use the windows version, you can contact us via the website, and we can give you a beta of release 3.0.5

Cheers

Post Reply