info
Read output data rate and bandwidth setting of BNO055 sensor
Add-On Required: This feature requires the MATLAB Support Package for Arduino Hardware add-on.
Description
returns the output data rate (ODR) and bandwidth of the BNO055 sensor in the
SensorInfo
= info(bno055
)amg
operating mode.
Note
In the ndof
mode, an internal fusion algorithm
configures the bandwidth and ODR of the sensor with some values. Hence
info
cannot be used in ndof
operating mode.
Examples
Read Info of Sensor
Create an arduino
object and include the I2C library.
a = arduino('COM4', 'Uno', 'Libraries', 'I2C');
Create the sensor object and read info.
imu = bno055(a,'OperatingMode','amg','SampleRate',100,'Bus',1); info(imu)
ans = struct with fields: AccelerometerBandwidth: 31.2500 GyroscopeBandwidth: 47 MagnetometerODR: 30
Input Arguments
Output Arguments
Version History
Introduced in R2019a
See Also
bno055
| flush
| read
| readAcceleration
| readAngularVelocity
| readCalibrationStatus
| readMagneticField
| readOrientation
| release