enum BNO055_CONF_ACCEL_BANDWIDTH_500HZ wrong
josephpal opened this issue · comments
It looks like this type definition is wrong (BNO055ESP32.h, line 304):
typedef enum {
BNO055_CONF_ACCEL_BANDWIDTH_7_81HZ = 0x00,
BNO055_CONF_ACCEL_BANDWIDTH_15_63HZ = 0x04,
BNO055_CONF_ACCEL_BANDWIDTH_31_25HZ = 0x08,
BNO055_CONF_ACCEL_BANDWIDTH_62_5HZ = 0x0C,
BNO055_CONF_ACCEL_BANDWIDTH_125HZ = 0x10,
BNO055_CONF_ACCEL_BANDWIDTH_250HZ = 0x14,
BNO055_CONF_ACCEL_BANDWIDTH_500HZ = 0x08, <---
BNO055_CONF_ACCEL_BANDWIDTH_1000HZ = 0x1C
} bno055_accel_bandwidth_t;
It has to be 0x18
in order to configure the sensor for 500Hz bandwidth.
Greetings,
Joe
Hi Joe, thanks for noticing that, now it's fixed.