Class: EspControlInputManager
Defined in: src/garminsdk/esp/EspControlInputManager.ts:104
A manager that adjusts pitch and roll control inputs in response to forces applied by a Garmin ESP system.
Constructors
Constructor
new EspControlInputManager(
bus
,forceData
,options?
):EspControlInputManager
Defined in: src/garminsdk/esp/EspControlInputManager.ts:130
Creates a new instance of EspControlInputManager. Once created, the manager must be initialized in order for it to adjust control inputs.
Parameters
Parameter | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
forceData | EspControlInputManagerForceData | Data describing control axis forces applied by ESP. |
options? | Readonly <EspControlInputManagerOptions > | Options with which to configure the manager. |
Returns
EspControlInputManager
Methods
init()
init():
Promise
<void
>
Defined in: src/garminsdk/esp/EspControlInputManager.ts:185
Initializes this manager. Once initialized, the manager will automatically adjust pitch and roll control inputs in response to forces applied by ESP.
Returns
Promise
<void
>