libximc  2.13.1
Data Fields
control_settings_calb_t Struct Reference

Control settings which use user units. More...

Data Fields

float MaxSpeed [10]
 Array of speeds using with joystick and button control.
unsigned int Timeout [9]
 timeout[i] is time in ms, after that max_speed[i+1] is applying.
unsigned int MaxClickTime
 Maximum click time (in ms).
unsigned int Flags
 Control flags.
float DeltaPosition
 Shift (delta) of position.

Detailed Description

Control settings which use user units.

This structure contains control parameters. When choosing CTL_MODE=1 switches motor control with the joystick. In this mode, the joystick to the maximum engine tends Move at MaxSpeed [i], where i=0 if the previous use This mode is not selected another i. Buttons switch the room rate i. When CTL_MODE=2 is switched on motor control using the Left / right. When you click on the button motor starts to move in the appropriate direction at a speed MaxSpeed [0], at the end of time Timeout[i] motor move at a speed MaxSpeed [i+1]. at Transition from MaxSpeed [i] on MaxSpeed [i+1] to acceleration, as usual. The figure above shows the sensitivity of the joystick feature on its position.

See Also
set_control_settings_calb
get_control_settings_calb
get_control_settings, set_control_settings

Field Documentation

unsigned int Flags
unsigned int MaxClickTime

Maximum click time (in ms).

Prior to the expiration of this time the first speed isn't enabled.

float MaxSpeed[10]

Array of speeds using with joystick and button control.

unsigned int Timeout[9]

timeout[i] is time in ms, after that max_speed[i+1] is applying.

It is using with buttons control only.