Summary
The DCT gearbox shift logic controller handles all the shifting related function of the gearbox, including the different gearbox modes, gear pre-selection, rev matching, etc.
It is an extension of the vehicle controller
and automatically gets called if a vehicle is equipped with a DCT transmission
.
File Info
|
|
| Filename |
shiftLogic-dctGearbox.lua |
| Path |
/lua/vehicle/controller/shiftLogic-dctGearbox.lua |
| Usage type |
Specific to vehicleController |
JBeam Properties
Electrics
Indicates the position of the clutch on the first transmission shaft. 0 means it’s disengaged, while 1 means it’s fully engaged.
Indicates the position of the clutch on the second transmission shaft. 0 means it’s disengaged, while 1 means it’s fully engaged.
Public Functions
Switches between arcade and realistic gearbox modes.
Switches to the next position on the gear lever.
Switches to the previous position on the gear lever.
Shifts the gear lever to the selected position.
Current gear the transmission is in.
Current position of the automatic shifter.
Changes the gearbox’s default forward mode.
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": {
"automaticModes":"PRNDSM",
"calculateOptimalLoadShiftPoints": true,
"shiftDownRPMOffsetCoef":1.2,
"aggressionHoldOffThrottleDelay":3,
"lowShiftDownRPM":[0,0,0,2200,2500,2500,25002500],
"lowShiftUpRPM":[0,0,4300,4200,4050,4000,3800],
"clutchLaunchStartRPM": 3500,
"clutchLaunchTargetRPM": 4000,
"autoDownShiftInM": false,
},