Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision |
first:adxrs450_gyro_board_frc:java [24 Oct 2018 18:33] – [Using getAngle() and getRate()] Kristen Chong | first:adxrs450_gyro_board_frc:java [10 Dec 2018 21:10] – [Sensor Initialization and Calibration] Kristen Chong |
---|
\\ | \\ |
\\ | \\ |
===== Sensor Initialization and Calibration ===== | ===== Sensor Initialization and Calibration with calibrate() ===== |
Once your gyro is defined and instantiated, you will need to initialize it with a calibration where it will execute as soon as the robot is powered on, typically robotInit(). To do this, you will need to call the calibrate() method. Calibration is necessary for proper operation and **MUST** be performed before the gyro can be used. For more information, please see the [[first:adxrs450_gyro_board_frc|general FRC Gyro page]]. | Once your gyro is defined and instantiated, you will need to initialize it with a calibration where it will execute as soon as the robot is powered on, typically robotInit(). To do this, you will need to call the calibrate() method. Calibration is necessary for proper operation and **MUST** be performed before the gyro can be used. For more information, please see the [[first:adxrs450_gyro_board_frc|general FRC Gyro page]]. |
\\ | \\ |