Calibration algorithm is used to recalculate accelerometer axes to represent vehicle‘s axes (see Picture 1). Vehicles axes are as follows:<br>
+
1. X is front.<br>
+
2. Y is left.<br>
+
3. Z is down.<br>
+
+
[[File:Vehicle axis.PNG|center|Vehicle Axis]]
+
+
Once vehicle‘s axes are calculated, device is considered calibrated.<br>
+
<br>
+
Note: moving forward along any axis will generate negative values. This means acceleration will generate -X values, accordingly breaking will generate X values. Same goes for other axes. <br>
+
+
Commands that can be used during calibration:<br>
+
<center>
+
{| class="wikitable"
+
|-
+
! Command !! Response !! Description
+
|-
+
| auto_calibrate:set|| Yes || Request auto calibration task start
+
|-
+
| auto_calibrate:get|| Yes || Request calibration info (time, ground vector, side vector)
+
|-
+
| auto_calibrate:clear|| Yes || Request calibration clear from flash and stop calibration task
+
|-
+
| auto_calibrate:status|| Yes || Request calibration status and calibration task status
+
|}
+
</center>
==== Auto calibration before firmware version 03.25.07.Rev.00. ====
==== Auto calibration before firmware version 03.25.07.Rev.00. ====
Accelerometer auto calibration functionality has one purpose - determine how FMB device
Accelerometer auto calibration functionality has one purpose - determine how FMB device