Source code for the software that is used to build the image for the embedded computer inside the Whale Tags to be deployed onto sperm whales for project CETI
The built-in Raspberry Pi i2c controller does not support clock stretching, which is required by the BNO085. v2 and v2_1 code used the built-in controller. The IMU reports successfully most of the time, but there are occasional bad data points which are clear outliers in the quaternion stream. Our working theory is that these bad data points result from an i2c comm error associated with the lack of clock stretching.
As a fix, we are looking at the pigpio library bit-banged i2c API. Peter N. has written code to utilize this API, but it needs to be integrated and tested with the main Tag recording application (cetiTagApp).
The built-in Raspberry Pi i2c controller does not support clock stretching, which is required by the BNO085. v2 and v2_1 code used the built-in controller. The IMU reports successfully most of the time, but there are occasional bad data points which are clear outliers in the quaternion stream. Our working theory is that these bad data points result from an i2c comm error associated with the lack of clock stretching.
As a fix, we are looking at the pigpio library bit-banged i2c API. Peter N. has written code to utilize this API, but it needs to be integrated and tested with the main Tag recording application (cetiTagApp).