From 6f4e63e8b38c39c050d78249eb8be93615bbb9b8 Mon Sep 17 00:00:00 2001 From: DrZiplok Date: Tue, 28 Dec 2010 23:30:09 +0000 Subject: [PATCH] Move ToRad here to match ToDeg git-svn-id: https://arducopter.googlecode.com/svn/trunk@1338 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- libraries/AP_Common/AP_Common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_Common/AP_Common.h b/libraries/AP_Common/AP_Common.h index 2b7c7436d4..df9c697dc0 100644 --- a/libraries/AP_Common/AP_Common.h +++ b/libraries/AP_Common/AP_Common.h @@ -191,6 +191,7 @@ protected: /// XXX this should probably be replaced with radians()/degrees(), but their /// inclusion in wiring.h makes doing that here difficult. #define ToDeg(x) (x*57.2957795131) // *180/pi +#define ToRad(x) (x*0.01745329252) // *pi/180 //@}