加速度计#
加速度计测量机器人沿一个或多个轴的加速度。该传感器输出模拟电压,该电压会根据加速度(以G力为单位)而变化。
加速度计上的跳线决定了其灵敏度范围:
2G – 测量从 -2G 到 +2G 的加速度
6G – 测量从 -6G 到 +6G 的加速度

以下是可用模块列表:
Accelerometer acceleration – Returns the acceleration detected by the Accelerometer in Gs.
加速度计加速度#
The Accelerometer acceleration block returns the acceleration value from which axis is connected on the Accelerometer.
VEXcode 代码块堆栈包含 Accel1 加速度的 g 块。#
([AccelA v] 加速度g值)
范围 |
描述 |
|---|---|
设备 |
要使用的加速计,在“设备”窗口中进行配置。 |