Added Deg to rad, rad to deg * 100 to save a float calc

This commit is contained in:
Jason Short 2011-12-03 15:28:36 -08:00
parent 8af8badcec
commit 06341cb1dc
1 changed files with 3 additions and 1 deletions

View File

@ -334,7 +334,9 @@ enum gcs_severity {
//#define SonarToCm(x) (x*1.26) // Sonar raw value to centimeters //#define SonarToCm(x) (x*1.26) // Sonar raw value to centimeters
// RADIANS // RADIANS
#define RADX100 0.000174533 #define RADX100 0.000174532925
#define DEGX100 5729.57795
// EEPROM addresses // EEPROM addresses
#define EEPROM_MAX_ADDR 4096 #define EEPROM_MAX_ADDR 4096