Accelerometer#
The Accelerometer measures the acceleration of the robot along one or more axes. The sensor outputs an analog voltage that changes based on acceleration in G-forces (G).
A jumper on the Accelerometer determines its sensitivity range:
2G – Measures acceleration from -2G to +2G
6G – Measures acceleration from -6G to +6G

Below is a list of available blocks:
Accelerometer acceleration – Reports the acceleration detected by the Accelerometer in Gs.
Accelerometer acceleration#
The Accelerometer acceleration block returns the acceleration value from which axis is connected on the Analog Accelerometer.
VEXcode blocks stack of code containing a Accel1 acceleration in g block.#
([AccelA v] aceleración en g)
Parameter |
Description |
|---|---|
device |
The Accelerometer to use, configured in the Devices window. |