1
- NAxisMotion
1
+ 9 Axes Motion Library
2
2
-----------
3
- The NAxisMotion.cpp and NAxisMotion.h files are C++ wrapper codes for the
3
+ The NAxisMotion.cpp and NAxisMotion.h files are C++ wrapper codes for the
4
4
BNO055.c and BNO055.h Sensor API. The wrapper code has been designed to
5
- abstract the Sensor API and also to give an idea on how to use the
5
+ abstract the Sensor API and also to give an idea on how to use the
6
6
advanced features in the Sensor API. Apart from that it acts a bridge
7
7
between the Sensor API and the Arduino framework. Copy this library into
8
8
"yourArduinoInstallation"/libraries folder.
9
-
10
-
11
- -------------------------------------------------------------------------------
12
- There are 4 examples with the NAxisMotion library.
13
-
9
+
10
+
11
+ -------------------------------------------------------------------------------
12
+ There are 4 examples with the NAxisMotion library.
13
+
14
14
- BareMinimum: This example code is as the name says the minimum code
15
15
required to use the NAxisMotion sensor shield.
16
-
16
+
17
17
- Euler: This example code reads out the Euler angles in the NDoF mode to
18
18
the Serial Monitor. It also reads out the Calibration Status. Each sensor
19
19
and the System itself has its own Calibration Status. See below on how to
@@ -23,21 +23,19 @@ There are 4 examples with the NAxisMotion library.
23
23
associated data which are the Linear Acceleration data, which is the
24
24
Accelerometer data without the gravity vector, the other is the Gravity
25
25
Acceleration data, which is only the gravity vector.
26
-
26
+
27
27
- Motion: This example code is a game to test how steadily you can move an
28
28
object, in this case it is the shield with the Arduino board. The goal is
29
29
to demonstrate on how to use the Any motion and No motion Interrupts.
30
-
30
+
31
31
Calibration helps the Sensor identify its environment and automatically
32
32
determine offsets. Follow the instructions below to calibrate your sensor.
33
33
34
34
- Gyroscope: Keep it steady and do not move it. Preferably keep it on a fixed
35
35
surface such as a table.
36
-
36
+
37
37
- Accelerometer: Rotate the shield slowly and pause at every 45deg for a
38
38
second. Rotate one 1 axis at a time. Preferably rotate along 2 axes.
39
-
39
+
40
40
- Magnetometer: Move the magnetometer in a large 8 like pattern a few times
41
41
gently.
42
-
43
-
0 commit comments