Created
February 28, 2021 23:51
-
-
Save jabbate19/7890746e816a6d5c55207a577ef3a7a6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BNO055IMU.Parameters parameters = new BNO055IMU.Parameters(); | |
parameters.angleUnit = BNO055IMU.AngleUnit.RADIANS; | |
parameters.accelUnit = BNO055IMU.AccelUnit.METERS_PERSEC_PERSEC; | |
parameters.calibrationDataFile = "BNO055IMUCalibration.json"; // see the calibration sample opmode | |
parameters.loggingEnabled = true; | |
parameters.loggingTag = "IMU"; | |
parameters.accelerationIntegrationAlgorithm = new JustLoggingAccelerationIntegrator(); | |
imu = hardwareMap.get(BNO055IMU.class,"imu"); | |
imu.initialize(parameters); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment