RITM-G29-Wheel
Getting the steering status from the Logitech G29 controller.
blockType: CFunction
Path in the library:
|
Description
To work with the block, install/update the support package RITM blocks. |
Block RITM-G29-Wheel It is used to get the steering status from the Logitech G29 controller.
Ports
Output
#
OUT_1
—
bus of type RITM_LOG_G29_STATE (see "RITM_LOG_G29_STATE"). Description of the RITM_LOG_G29_STATE bus)
vector
Details
Data types |
|
Complex numbers support |
No |
Parameters
Параметры
# Шаг расчёта, с: — calculation step in seconds with which the value of the current steering state will be obtained
Details
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |
Description of the RITM_LOG_G29_STATE bus
The RITM_LOG_G29_STATE bus contains a set of signals describing the current state of the steering controller:
-
steering — steering angle in degrees (data type
Float64
) in the range from-450
to+450
; -
pedal_accelerator — percentage of pressing the accelerator pedal (data type
Float64
) in the range from0
to100
; -
pedal_brake — percentage of brake pedal pressure (data type
Float64') in the range from `0
to100
; -
pedal_clutch — the percentage of pressing the clutch pedal (data type
Float64') in the range from `0
to100
.
The bus also contains button status signals: false
— the button is not pressed, true
— the button is pressed.:
-
button_cross — the status (data type
Bool
) of the button X; -
button_square — the status (data type
Bool
) of the button ; -
button_triangle — the status (data type
Bool
) of the button; -
button_circle — the status (data type
Bool
) of the button; -
button_up — the status (data type
Bool
) of the button; -
button_left — the state (data type
Bool
) of the button ←; -
button_right — the status (data type
Bool
) of the button →; -
button_down — the status (data type
Bool
) of the button ↓; -
button_plus — the status (data type
Bool
) of the button +; -
button_minus — the status (data type
Bool
) of the button −; -
button_l2 — status (data type
Bool
) of the button L2; -
button_l3 — status (data type
Bool
) of the button L3; -
button_r2 — status (data type
Bool
) of the button R2; -
button_r3 — status (data type
Bool
) of the button R3; -
shifter_left — state (data type
Bool
) of the left steering lobe; -
shifter_right — state (data type
Bool
) of the right steering lobe; -
button_enter — status signal (data type
Bool
) of the button ↵.