Engee 文档

罗技 G29 滚轮

接收来自罗技 G29 控制器的转向状态。

类型: EngeeFunction

图书馆中的路径:

/Interfaces/Wheel/Logitech G29 Wheel

说明

罗技 G29 滚轮 盒用于接收罗技 G29 控制器的转向状态。

端口

输出

# G29_STATE — 总线类型 G29_STATE
矢量

Details

G29_STATE 总线包含一组描述转向控制器当前状态的信号:

  • stearing - 以度为单位的转向角(数据类型 Float64),范围为 -450+450

  • pedal_accelerator - 加速踏板压力百分比(数据类型 Float64),范围从 0100

  • pedal_brake - 制动踏板压力的百分比(数据类型 Float64),范围为 0`至 `100

  • pedal_clutch - 离合器踏板压力的百分比(数据类型 Float64),范围从 0100

总线还包含按钮状态信号:false - 按钮未按下,true - 按钮已按下:

  • button_cross - 按钮的状态(数据类型 BoolX

  • button_square - 按钮的状态(数据类型 Bool) ▆ ;

  • button_triangle - △ 按钮的状态(数据类型 Bool);

  • button_circle - 按钮 ◯ 的状态(数据类型 Bool);

  • button_up - ↑ 按钮的状态(数据类型 Bool);

  • button_left - 按钮 的状态(数据类型 Bool );

  • button_right - 按钮的状态(数据类型 Bool)

  • button_down - 按钮的状态(数据类型 Bool)

  • button_plus - 按钮的状态(数据类型 Bool)+ ;

  • button_minus - 按钮的状态(数据类型 Bool)− ;

  • button_l2 - 按钮的状态(数据类型 Bool)L2

  • button_l3 - 按钮的状态(数据类型 Bool)L3

  • button_r2 - 按钮的状态(数据类型 Bool)R2

  • button_r3 - 按钮的状态(数据类型 Bool)R3

  • shifter_left - 左手桨的状态(数据类型 Bool);

  • shifter_right - 右桨的状态(数据类型 Bool);

  • button_enter - 按钮的状态信号(数据类型 Bool

数据类型

Float64.

复数支持

参数

Параметры

# Шаг расчёта, с: — 获得当前转向状态值的计算步长,以秒为单位

Details
默认值

0.01

程序使用名称

m_sample_time

可调谐

可计算