Page 1 of 1

Adjusting search parameters

Posted: 10 Jul 2013, 14:52
by adityaraj52
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.

Re: Adjusting search parameters

Posted: 10 Jul 2013, 17:19
by coppelia
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