node-BNO055
Installation
Install i2c following instructions here: https://github.com/kelly/node-i2c
$ npm install --save bno-055
Usage
var BNO055 = ; var async = ; var imu = ; imu;
Change the mounting position of the sensor. See section 3.4 Axis remap in the datasheet for details.
var imu = orientation: BNO055 ;
Resuse the sensor's calibration data. See section 3.10 Calibration for details on manual calibration.
// get calibration values, and save for latervar calibrationData; imu; //then use that data later when initializing the sensorvar imu = calibration: calibrationData;