Engee documentation

RITM-G29-Wheel

Receive steering status from the Logitech G29 controller.

blockType: CFunction

Path in the library:

/RITM/RITM G29-Wheel/RITM-G29-Wheel

Description

The RITM-G29-Wheel box is used to receive steering status from the Logitech G29 controller.

Ports

Output

# OUT_1 — bus of type RITM_LOG_G29_STATE (see "RITM_LOG_G29_STATE"). Bus description RITM_LOG_G29_STATE)
vector

Details
Data types

Float64.

Complex numbers support

No

Parameters

Параметры

# Шаг расчёта, с: — calculation step in seconds with which the value of the current steering state will be obtained

Details
Default value

-1

Program usage name

m_smplT

Tunable

No

Evaluatable

Yes

Bus description RITM_LOG_G29_STATE

The RITM_LOG_G29_STATE bus contains a set of signals describing the current state of the steering controller:

  • stearing - steering angle in degrees (data type Float64) in the range from -450 to +450;

  • pedal_accelerator - percentage of accelerator pedal pressure (data type Float64) in the range from 0 to 100;

  • pedal_brake - percentage of brake pedal pressure (data type Float64) in the range from 0 to 100;

  • pedal_clutch - percentage of clutch pedal pressure (data type Float64) in the range from 0 to 100.

The bus also contains button status signals: false - button is not pressed, true - button is pressed:

  • button_cross - state (data type Bool) of the button X;

  • button_square - state (data type Bool) of the button ▆ ;

  • button_triangle - state (data type Bool) of the △ button;

  • button_circle - state (data type Bool) of button ◯;

  • button_up - state (data type Bool) of the button ↑;

  • button_left - state (data type Bool) of the button ;

  • button_right - state (data type Bool) of the button ;

  • button_down - state (data type Bool) of the button ;

  • button_plus - state (data type Bool) of the button +;

  • button_minus - state (data type Bool) of the button −;

  • button_l2 - state (data type Bool) of the button L2;

  • button_l3 - state (data type Bool) of the button L3;

  • button_r2 - state (data type Bool) of the button R2;

  • button_r3 - state (data type Bool) of the button R3;

  • shifter_left - state (data type Bool) of the left hand paddle;

  • shifter_right - state (data type Bool) of the right paddle;

  • button_enter - status signal (Bool data type) of the button .