How to create custom driver behavior in motionsolve?

Is it possible to program the behavior of the driver when running a simulation? I want to be able to control the times where it would hit the throttle, the amount of throttle, steering, brakes, or even like simulating a behavior during traffic conditions where it would stop at some points and accelerate again.
Thanks!
Best Answer
-
Hi @sudo,
A vehicle can be driven in this fashion either with an intricate Altair Driver File or by implementing your own Driver Model.
When you use any of the template events from the Vehicle Tools Extension, an Altair Driver File (ADF) is created to dictate commands for the Altair Driver Model. If we look into the automatically created ADF, we can see a Maneuver List:
Underneath will be the parameters for that specific maneuver, such as the steering mode, traction mode, speed mode, and path parameters:
This ADF file can be modified and used as an input for the standard Driver File event:
Therefore, you can stitch together a Maneuver Set to create a highly detailed event.
Alternatively, you can forgo the Altair Driver Model, remove it, and instead supply your own expressions to the key entities listed in the Altair Driver Model Driver Outputs:
For example, you could enter in your own expression into the Driver Throttle Output solver variable to dictate the throttle position.
Hope this helps!
Adam Reid
0
Answers
-
Hi @sudo,
A vehicle can be driven in this fashion either with an intricate Altair Driver File or by implementing your own Driver Model.
When you use any of the template events from the Vehicle Tools Extension, an Altair Driver File (ADF) is created to dictate commands for the Altair Driver Model. If we look into the automatically created ADF, we can see a Maneuver List:
Underneath will be the parameters for that specific maneuver, such as the steering mode, traction mode, speed mode, and path parameters:
This ADF file can be modified and used as an input for the standard Driver File event:
Therefore, you can stitch together a Maneuver Set to create a highly detailed event.
Alternatively, you can forgo the Altair Driver Model, remove it, and instead supply your own expressions to the key entities listed in the Altair Driver Model Driver Outputs:
For example, you could enter in your own expression into the Driver Throttle Output solver variable to dictate the throttle position.
Hope this helps!
Adam Reid
0