Drivers Tutorial
Tutorial - Defining a new driver model
The following process will demonstrate how to create a new
driver model using these interface definitions. This tutorial will
guide you through building a driver for a conventional
automatic transmission passenger car.
- Create a new model that extends
VehicleInterfaces.Drivers.Interfaces.Base, it
should look like this:
- Unlike the other interface definitions in the VehicleInterfaces
package the Driver model doesn't include optional connections. It
simply uses an expandable connector to exchange information with
the DriverEnvironment subsystem. The required signals are defined
in the Driver
interaction bus section of the Users Guide. Normalised
mechanical sensors and actuators are provided in the VehicleInterfaces.Mechanics
package.
Generated at 2026-04-06T18:18:36Z by OpenModelicaOpenModelica 1.26.3 using
GenerateDoc.mos