How to create custom driver behavior in motionsolve?

sudo
sudo Altair Community Member

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

  • GTT Adam
    GTT Adam
    Altair Employee
    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:

    image.png

    Underneath will be the parameters for that specific maneuver, such as the steering mode, traction mode, speed mode, and path parameters:

    image.png

    This ADF file can be modified and used as an input for the standard Driver File event:

    image.png

    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:

    image.png

    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

Answers

  • GTT Adam
    GTT Adam
    Altair Employee
    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:

    image.png

    Underneath will be the parameters for that specific maneuver, such as the steering mode, traction mode, speed mode, and path parameters:

    image.png

    This ADF file can be modified and used as an input for the standard Driver File event:

    image.png

    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:

    image.png

    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

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.