mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[examples] Add AnalogAccelerometer snippets
Delete AnalogAccelerometer comments about sensitivity and zero constants that don't exist
This commit is contained in:
committed by
Peter Johnson
parent
cc8eaf3ed7
commit
b7cd03adc4
@@ -91,7 +91,7 @@ public class AnalogAccelerometer implements Sendable, AutoCloseable {
|
||||
* Set the accelerometer sensitivity.
|
||||
*
|
||||
* <p>This sets the sensitivity of the accelerometer used for calculating the acceleration. The
|
||||
* sensitivity varies by accelerometer model. There are constants defined for various models.
|
||||
* sensitivity varies by accelerometer model.
|
||||
*
|
||||
* @param sensitivity The sensitivity of accelerometer in Volts per G.
|
||||
*/
|
||||
@@ -102,8 +102,7 @@ public class AnalogAccelerometer implements Sendable, AutoCloseable {
|
||||
/**
|
||||
* Set the voltage that corresponds to 0 G.
|
||||
*
|
||||
* <p>The zero G voltage varies by accelerometer model. There are constants defined for various
|
||||
* models.
|
||||
* <p>The zero G voltage varies by accelerometer model.
|
||||
*
|
||||
* @param zero The zero G voltage.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user