...
View the Optimizer breakdown in dropdown for detailed a look.
INPUT
Elevation text file:
First row states how many points/sections in a route
Each row after the first represents a section of a course. For each row:
The index of row
change of elevation (starting point of section → end point of section)
length of section
If there is a turn after this section: Indication of turn
These values are separated by comma.
User input using parser:
distance
: (float) Distance to travel (m)dist_step
: (float) Distance between elevation profile measurements (m)time
: (float) Maximum allowable to travel the distance (m/s)min_velocity
: (float) Minimum allowable velocity (m/s)max_stop_velocity
: (float) Maximum velocity for stops/turns (m/s)
OUTPUT
Optimized velocity profile:
...
(list) each element represents the average velocity (m/s) for the car to move at each section/point in a route.