open_simulation_interface  v3.4.0 (2021-11-18)
osi3::HostVehicleData::VehiclePowertrain::Motor Struct Reference

A description of the motor states. More...

Collaboration diagram for osi3::HostVehicleData::VehiclePowertrain::Motor:

Public Types

enum  Type {
  TYPE_UNKNOWN = 0 , TYPE_OTHER = 1 , TYPE_OTTO = 2 , TYPE_DIESEL = 3 ,
  TYPE_ELECTRIC = 4
}
 

Public Attributes

optional Type type = 1
 
optional double rpm = 2
 
optional double torque = 3
 

Detailed Description

A description of the motor states.

Member Enumeration Documentation

◆ Type

Definition which type of motor is used.

Enumerator
TYPE_UNKNOWN 

The motor type is unknown.

TYPE_OTHER 

It is another motor type.

TYPE_OTTO 

A motor working after the principle of Nicolaus Otto.

TYPE_DIESEL 

A motor working after the principle of Rudolf Diesel.

TYPE_ELECTRIC 

A motor working electric.

Member Data Documentation

◆ rpm

optional double osi3::HostVehicleData::VehiclePowertrain::Motor::rpm = 2

Revolutions per minute of the motor.

Unit: 1/min

◆ torque

optional double osi3::HostVehicleData::VehiclePowertrain::Motor::torque = 3

Torque of the motor.

Unit: N*m

◆ type

optional Type osi3::HostVehicleData::VehiclePowertrain::Motor::type = 1

The type of the motor.


The documentation for this struct was generated from the following file: