Support for speed and acceleration values on trajectories
Describe the feature
In #506 (closed) it was discussed that speed/velocity values are needed for certain use cases. For example when a controller is active and tries to follow a desired trajectory it might not always reach each segment of a trajectory in time and it will then potentially speed up too much. Therefore, it is desirable to also be able to specify speed values without time values (basically explicitly or implicitly linked to distance values).
Describe the solution you would like
Add a speed parameter to each connecting/control point of a trajectory spline.
A time
property would be added in 3 (maybe 4) places
- In
ControlPoint
, see https://www.asam.net/static_downloads/ASAM_OpenSCENARIO_V1.2.0_Model_Documentation/modelDocumentation/content/ControlPoint.html - In
Vertex
see: https://www.asam.net/static_downloads/ASAM_OpenSCENARIO_V1.2.0_Model_Documentation/modelDocumentation/content/Vertex.html - In #506 (closed) as described in the issue
- In #511 equivalent to #506 (closed) (if we want this spline as well)
Describe alternatives you have considered
Speedprofile with distance values instead of time values (currently not possible in OSC 1). For explanation see:
Currently there are no distance values. Maybe a simulator could have some kind of internal definition such as one entry per vertex or something like that but I don't believe that is standardized right now.
Describe the backwards compatibility
Should be fully compatible since it is a completely new optional value.