Engee documentation

RITM-G29-Wheel

Getting the steering status from the Logitech G29 controller.

blockType: CFunction

Path in the library:

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

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

Float64.

Complex numbers support

No

Parameters

Main group

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

Details
Default value

-1

Program usage name

m_smplT

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 wheel rotation angle in degrees (data type Float64) in the range of -450 before +450;

  • pedal_accelerator — percentage of pressing the accelerator pedal (data type Float64) in the range of 0 before 100;

  • pedal_brake — percentage of brake pedal pressure (data type Float64) in the range of 0 before 100;

  • pedal_clutch — percentage of clutch pedal pressure (data type Float64) in the range of 0 before 100.

The bus also contains button status signals.: false — the button is not pressed, true — the button is pressed:

  • button_cross — status (data type Bool) buttons X;

  • button_square — status (data type Bool) buttons , ;

  • button_triangle — state (data type Bool) buttons ,;

  • button_circle — state (data type Bool) buttons ,;

  • button_up — status (data type Bool) buttons ,;

  • button_left — state (data type Bool) buttons ;

  • button_right — status (data type Bool) buttons ;

  • button_down — status (data type Bool) buttons ;

  • button_plus — status (data type Bool) buttons +;

  • button_minus — status (data type Bool) buttons −;

  • button_l2 — status (data type Bool) buttons L2;

  • button_l3 — status (data type Bool) buttons L3;

  • button_r2 — status (data type Bool) buttons R2;

  • button_r3 — status (data type Bool) buttons 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) buttons .