Class: EspPitchModule
Defined in: src/garminsdk/esp/modules/EspPitchModule.ts:83
A pitch engagement module for Garmin ESP systems. The module applies a force to the pitch control axis to combat excessive pitch angles in one direction (either excessive pitch up or pitch down).
Implements
Constructors
Constructor
new EspPitchModule(
id
,options
):EspPitchModule
Defined in: src/garminsdk/esp/modules/EspPitchModule.ts:105
Creates a new instance of EspPitchModule.
Parameters
Parameter | Type | Description |
---|---|---|
id | string | This module's ID. |
options | Readonly <EspPitchModuleOptions > | Options with which to configure the module. |
Returns
EspPitchModule
Properties
id
readonly
id:string
Defined in: src/garminsdk/esp/modules/EspPitchModule.ts:105
This module's ID.
Implementation of
Methods
getEngageData()
getEngageData():
Readonly
<EspPitchModuleEngageData
>
Defined in: src/garminsdk/esp/modules/EspPitchModule.ts:123
Gets data describing this module's engagement state.
Returns
Readonly
<EspPitchModuleEngageData
>
Data describing this module's engagement state.
isEngaged()
isEngaged():
boolean
Defined in: src/garminsdk/esp/modules/EspPitchModule.ts:115
Checks if this module is engaged.
Returns
boolean
Whether this module is engaged.
Implementation of
onDestroy()
onDestroy():
void
Defined in: src/garminsdk/esp/modules/EspPitchModule.ts:171
A method that is called when this module's parent system is destroyed.
Returns
void
Implementation of
onInit()
onInit():
void
Defined in: src/garminsdk/esp/modules/EspPitchModule.ts:128
A method that is called when this module is attached to an initialized system, or when this module's parent system is initialized.
Returns
void
Implementation of
onPause()
onPause():
void
Defined in: src/garminsdk/esp/modules/EspPitchModule.ts:166
A method that is called when this module's parent system is paused.
Returns
void
Implementation of
onUpdate()
onUpdate(
operatingMode
,data
,forceController
):void
Defined in: src/garminsdk/esp/modules/EspPitchModule.ts:133
A method that is called every time this module's parent system is updated.
Parameters
Parameter | Type | Description |
---|---|---|
operatingMode | EspOperatingMode | The parent system's current operating mode. |
data | Readonly <EspData > | The data provided by the parent system. |
forceController | EspForceController | A controller for control axis forces applied by the parent system. |
Returns
void