Practical Robotics Modular Robot Library
calibration.h@6:732aa91eb555, 2017-01-13 (annotated)
- Committer:
- jah128
- Date:
- Fri Jan 13 23:16:23 2017 +0000
- Revision:
- 6:732aa91eb555
- Parent:
- 0:8a2dd255c508
Updated;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jah128 | 0:8a2dd255c508 | 1 | // In this file we define calibration parameters for the actual robot |
jah128 | 0:8a2dd255c508 | 2 | |
jah128 | 0:8a2dd255c508 | 3 | // We can improve the battery voltage reading by measuring the actual voltage drop across the Zener diode (Z1 - a 7.5V device) and the ratio of the PD (should be 1:1) |
jah128 | 0:8a2dd255c508 | 4 | |
jah128 | 0:8a2dd255c508 | 5 | #ifndef CALIBRATION_H |
jah128 | 0:8a2dd255c508 | 6 | #define CALIBRATION_H |
jah128 | 0:8a2dd255c508 | 7 | |
jah128 | 0:8a2dd255c508 | 8 | // Defaults: |
jah128 | 0:8a2dd255c508 | 9 | |
jah128 | 0:8a2dd255c508 | 10 | // #define ZENER_VOLTAGE 7.50 |
jah128 | 0:8a2dd255c508 | 11 | // #define BATTERY_PD_MULTIPLIER 6.60 |
jah128 | 0:8a2dd255c508 | 12 | |
jah128 | 0:8a2dd255c508 | 13 | #define ZENER_VOLTAGE 7.40 |
jah128 | 0:8a2dd255c508 | 14 | #define BATTERY_PD_MULTIPLIER 6.60 |
jah128 | 0:8a2dd255c508 | 15 | |
jah128 | 0:8a2dd255c508 | 16 | #endif |