Practical Robotics Modular Robot Library
calibration.h
- Committer:
- jah128
- Date:
- 2016-11-26
- Revision:
- 0:8a2dd255c508
File content as of revision 0:8a2dd255c508:
// 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