mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
Added Deg to rad, rad to deg * 100 to save a float calc
This commit is contained in:
parent
8af8badcec
commit
06341cb1dc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user