Skip to content

Commit 0e46620

Browse files
committed
Issue #28. Updated README.md with calibration instructions
1 parent c84214a commit 0e46620

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,34 @@ Robot Control library Version:
196196
1.0.5
197197
```
198198

199+
#### Provide device calibration
200+
You need to calibrate threee devices: gyroscope, accelerometer, magnetometer. You can do this using librobotcontrol utils.
201+
To calibrate devices succesfully you need to folow instructions in CLI.
202+
203+
Accelerometer calibration (do in every 6-8 month):
204+
```
205+
rc_calibrate_accel
206+
```
207+
208+
Gyroscope calibration (do in every 6-8 month, with accelerometer):
209+
```
210+
rc_calibrate_gyro
211+
```
212+
213+
Magnetometer calibration (do every time you bring robot to new place):
214+
```
215+
rc_calibrate_mag
216+
```
217+
218+
After calibration special .cal files will store in /var/lib/robotcontrol.
219+
If you want to to reset calibration results, delete this files.
220+
```
221+
rm /var/lib/robotcontrol/accel.cal # Delete accelerometer calibration result
222+
rm /var/lib/robotcontrol/gyro.cal # Delete gyroscope calibration result
223+
rm /var/lib/robotcontrol/mag.cal # Delete magnetometer calibration result
224+
```
225+
226+
199227
#### Enable Background Services
200228
```
201229
sudo systemctl enable rc_battery_monitor

0 commit comments

Comments
 (0)