What is meaning of Interpolated Configuration?
-
- Posts: 19
- Joined: 30 Dec 2020, 15:32
What is meaning of Interpolated Configuration?
I am trying to build a vehicle to follow the dummied along the path.I am using the Motorbike example from the vehicles.What is the use of sim.getPathInterpolatedConfig in the script?
Re: What is meaning of Interpolated Configuration?
Hello,
as an example, if you have a path described by 3 points, start, intermediate, and goal (not all aligned), then you can use the mentioned function to get a point somewhere in-between. The function allows to perform linear interpolation, but also bezier-curve interpolation.
Cheers
as an example, if you have a path described by 3 points, start, intermediate, and goal (not all aligned), then you can use the mentioned function to get a point somewhere in-between. The function allows to perform linear interpolation, but also bezier-curve interpolation.
Cheers