Shift Logic - Dummy
Summary
The dummy shift logic controller gets called if the vehicle has no compatible gearbox. It’s purpose is to have the same public properties and functions available as the other controllers so the vehicle can still be used.
File Info
|
|
Filename |
shiftLogic-dummy.lua |
Path |
/lua/vehicle/controller/shiftLogic-dummy.lua |
Usage type |
Specific to vehicleController |
Public Functions
Function name
updateGearboxGFX
Description
Update’s the controllers properties with the engine’s data
Function name
getGearName
Description
Returns an empty string
Function name
getGearPosition
Function name
sendTorqueData
Description
Sends torque and power related data to the UI.
Public Properties
Description
Indicates if the engine is disabled.
Description
Indicates clutch input. 1 is fully engaged, 0 is fully disengaged.
Description
Current gear index of the gearbox.
Description
Energy storage(s) associated to the engine
Description
Throttle input.
Description
Engine combustion torque, before friction losses.
Description
Engine output torque.
Description
List containing many of the parameters which influence gearbox shifting behavior.
Description
Gearbox output torque.
Description
Engine idle RPM
Description
Indicates that the ignition is on.
Description
List containing the brake, throttle and clutch values.
Description
Indicates if the gearbox is in arcade mode.
Description
Indicates the engine is running
Description
Indicates if sport mode is active.
Description
Engine maximum RPM
Description
Oil temperature of the engine.
Description
Current engine RPM
Description
List containing the slip thresholds to prevent shifting.
Description
List containing the current optimal shift points defined by the vehicle controller.
Description
List containing a smoothed version of some properties.
Description
Smoothed angular velocity of the gearbox input (rad/s)
Description
Throttle input
Description
List containing current time values
Description
List containing target values for the different timers, as set in the jbeam
Description
Coolant temperature of the engine.
Last modified:
January 24, 2025