Practical Robotics Modular Robot Library
calibration.h
- Committer:
- jah128
- Date:
- 2017-01-13
- Revision:
- 6:732aa91eb555
- Parent:
- 0:8a2dd255c508
File content as of revision 6:732aa91eb555:
// In this file we define calibration parameters for the actual robot // 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) #ifndef CALIBRATION_H #define CALIBRATION_H // Defaults: // #define ZENER_VOLTAGE 7.50 // #define BATTERY_PD_MULTIPLIER 6.60 #define ZENER_VOLTAGE 7.40 #define BATTERY_PD_MULTIPLIER 6.60 #endif