Summary
The sequential gearbox shift logic controller handles all the driving assists and related systems when using a sequential gearbox, including the automatic clutch, throttle cut and shifting when driving in arcade mode.
It is an extension of the vehicle controller
and automatically gets called if a vehicle is equipped with a sequential transmission
.
File Info
|
|
| Filename |
shiftLogic-sequentialGearbox.lua |
| Path |
/lua/vehicle/controller/shiftLogic-sequentialGearbox.lua |
| Usage type |
Specific to vehicleController |
JBeam Properties
When using arcade mode or clutch assist.
When using arcade mode or clutch assist.
Public Functions
Switches between arcade and realistic gearbox modes.
Shifts the transmission up one gear.
Shifts the transmission down one gear.
Shifts the transmission to the selected gear.
Returns current gear index
Sends torque and power related data to the UI.
Public Properties
Indicates if the engine is disabled.
Indicates clutch input. 1 is fully engaged, 0 is fully disengaged.
Current gear index of the gearbox.
Energy storage(s) associated to the engine
Engine combustion torque, before friction losses.
List containing many of the parameters which influence gearbox shifting behavior.
Indicates that the ignition is on.
List containing the brake, throttle and clutch values.
Indicates if the gearbox is in arcade mode.
Indicates the engine is running
Indicates if sport mode is active.
Oil temperature of the engine.
List containing the slip thresholds to prevent shifting.
List containing the current optimal shift points defined by the vehicle controller.
List containing a smoothed version of some properties.
Smoothed angular velocity of the gearbox input (rad/s)
List containing current time values
List containing target values for the different timers, as set in the jbeam
Coolant temperature of the engine.
Example Usage
A vehicle controller section with parameters specific to this sub controller, defined within a transmission’s jbeam.
"vehicleController": {
"calculateOptimalLoadShiftPoints": true,
"shiftDownRPMOffsetCoef":1.20,
"aggressionHoldOffThrottleDelay":3,
"lowShiftDownRPM":[0,0,0,2000,2200,2200,2200,2200],
"lowShiftUpRPM":[0,0,3900,3800,3700,3700,3700],
"clutchLaunchStartRPM": 3000,
"clutchLaunchTargetRPM": 2000,
"ignitionCutTime": 0.09
},