Annotation Type Log.ThreeAxisAccelerometer
-
@Repeatable(ThreeAxisAccelerometers.class) @Retention(RUNTIME) @Target({FIELD,METHOD}) public static @interface Log.ThreeAxisAccelerometer
Displays a 3-axis accelerometer with a number bar for each axis' acceleration.
Supported types:ADXL345_I2C
ADXL345_SPI
ADXL362
Custom properties:Name Type Default Value Notes Range Accelerometer.Range
k16G The accelerometer range Show value Boolean true Show or hide the acceleration values Precision Number 2 How many numbers to display after the decimal point Show tick marks Boolean false Show or hide the tick marks on the number bars
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description int
columnIndex
int
height
java.lang.String
methodName
java.lang.String
name
int
precision
edu.wpi.first.wpilibj.interfaces.Accelerometer.Range
range
int
rowIndex
boolean
showTicks
boolean
showValue
java.lang.String
tabName
int
width
-
-
-
-
tabName
java.lang.String tabName
- Returns:
- The name of the tab in which to place this widget, if the default inferred tab/layout is not desired. Users should be careful to avoid namespace collisions if the default tab is not used. Note that Log and config annotations can be repeated to place widgets on multiple tabs.
- Default:
- "DEFAULT"
-
-