Main Content
readCalibrationStatus
Read calibration status of BNO055 sensor
Add-On Required: This feature requires the MATLAB Support Package for Arduino Hardware add-on.
Description
[
returns the calibration status of the BNO055 sensor in NDOF operating mode. See
Calibrate BNO055 Sensors for the
steps to calibrate the sensor.status
,timestamp
] = readCalibrationStatus(bno055
)
Examples
Read Calibrated Status of Sensor
Create an arduino
object
a = arduino('COM4', 'Uno', 'Libraries', 'I2C');
Create the BNO055 sensor object.
imu = bno055(a,'OperatingMode','ndof');
Calibrate the sensor using steps mentioned in Calibrate BNO055 Sensors.
pause(50)
Read calibration status of sensor.
[status,timestamp] = readCalibrationStatus(imu)
status = struct with fields: System: "uncalibrated" Accelerometer: "uncalibrated" Gyroscope: "full" Magnetometer: "uncalibrated" timestamp = datetime 21-Jul-2020 08:09:45.785
Input Arguments
Output Arguments
More About
Version History
Introduced in R2019b
See Also
bno055
| flush
| info
| read
| readAcceleration
| readAngularVelocity
| readMagneticField
| readOrientation
| release