C# Class SimShift.Services.TractionControl

Traction Control limits the wheel slip via open-loop control by reducing throttle when a slip % exceeds predetermined offset. The aggressiveness is adjusted by slope. Optionally a rattling sound can be played to alert the driver TC is overriding control.
Inheritance: IControlChainObj, IConfigurable
Afficher le fichier Open project: nlhans/SimShift Class Usage Examples

Méthodes publiques

Méthode Description
ApplyParameter ( IniValueObject obj ) : void
ExportParameters ( ) : IEnumerable
GetAxis ( JoyControls c, double val ) : double
GetButton ( JoyControls c, bool val ) : bool
Requires ( JoyControls c ) : bool
ResetParameters ( ) : void
TickControls ( ) : void
TickTelemetry ( IDataMiner data ) : void
TractionControl ( ) : System

Private Methods

Méthode Description
setVolume ( double vol ) : void
waveOutGetVolume ( IntPtr hwo, uint &dwVolume ) : int
waveOutSetVolume ( IntPtr hwo, uint dwVolume ) : int

Method Details

ApplyParameter() public méthode

public ApplyParameter ( IniValueObject obj ) : void
obj SimShift.Utils.IniValueObject
Résultat void

ExportParameters() public méthode

public ExportParameters ( ) : IEnumerable
Résultat IEnumerable

GetAxis() public méthode

public GetAxis ( JoyControls c, double val ) : double
c JoyControls
val double
Résultat double

GetButton() public méthode

public GetButton ( JoyControls c, bool val ) : bool
c JoyControls
val bool
Résultat bool

Requires() public méthode

public Requires ( JoyControls c ) : bool
c JoyControls
Résultat bool

ResetParameters() public méthode

public ResetParameters ( ) : void
Résultat void

TickControls() public méthode

public TickControls ( ) : void
Résultat void

TickTelemetry() public méthode

public TickTelemetry ( IDataMiner data ) : void
data IDataMiner
Résultat void

TractionControl() public méthode

public TractionControl ( ) : System
Résultat System