Optimal_laptime outputs #19
-
I am using the example code to run an optimal_laptime simulation. Is there a place where I can find all the possible outputs from the simulation? Inside a C++ file perhaps?
I see you have some of these details in the videos so I'm guessing it is somewhere. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hi Pierre, I have moved your query to the discussions site. I will answer shortly |
Beta Was this translation helpful? Give feedback.
-
Hi, So, the documentation is coming along but it is still not ready. In the mean time, you can look at the code: fastestlapc.cpp line 210 and beyond, these are the names of the variables that can be exported. If you have special variable request that are not cited there you can open an issue. Variable names are provisional, they will change soon to something like
<GPS_parameters>
<!-- x = earth_radius.cos(reference_latitude).(longitude - origin_longitude) -->
<!-- y = earth_radius.(latitude - origin_latitude) -->
<origin_longitude units="deg">2.2630628832470472</origin_longitude>
<origin_latitude units="deg">41.572323326229437</origin_latitude>
<earth_radius units="m">6378388</earth_radius>
<reference_latitude units="deg">41.572323326229437</reference_latitude>
</GPS_parameters> |
Beta Was this translation helpful? Give feedback.
Hi,
So, the documentation is coming along but it is still not ready.
In the mean time, you can look at the code: fastestlapc.cpp line 210 and beyond, these are the names of the variables that can be exported. If you have special variable request that are not cited there you can open an issue. Variable names are provisional, they will change soon to something like
chassis.u
instead ofu
. I will notify about it in the next release (feel free to 'watch' the repository to stay up to date with upcoming changes)s
is the arc length (distance traveled along the circuit) not the time. The time is simplytime
and the laptime islaptime
throttle
is both throttle (>0) and brake (<0)