Logitech G29 Wheel
接收来自罗技 G29 控制器的转向状态。
类型: EngeeFunction
图书馆中的路径:
|
端口
输出
#
G29_STATE
—
总线类型 G29_STATE
矢量
Details
G29_STATE 总线包含一组描述转向控制器当前状态的信号:
-
stearing - 以度为单位的转向角(数据类型
Float64
),范围为-450
至+450
; -
pedal_accelerator - 加速踏板压力百分比(数据类型
Float64
),范围从0
到100
; -
pedal_brake - 制动踏板压力的百分比(数据类型
Float64
),范围为0`至 `100
; -
pedal_clutch - 离合器踏板压力的百分比(数据类型
Float64
),范围从0
到100
。
总线还包含按钮状态信号:false
- 按钮未按下,true
- 按钮已按下:
-
button_cross - 按钮的状态(数据类型
Bool
)X ; -
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
)↵ 。
数据类型 |
|
复数支持 |
无 |
参数
Параметры
# Шаг расчёта, с: — 获得当前转向状态值的计算步长,以秒为单位
Details
默认值 |
|
程序使用名称 |
|
可调谐 |
无 |
可计算 |
是 |