Robot: Use Base::toRadians to convert degree to radian
This commit is contained in:
@@ -31,15 +31,6 @@
|
||||
#include "Waypoint.h"
|
||||
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
#define M_PI 3.14159265358979323846 /* pi */
|
||||
#endif
|
||||
|
||||
#ifndef M_PI_2
|
||||
#define M_PI_2 1.57079632679489661923 /* pi/2 */
|
||||
#endif
|
||||
|
||||
using namespace Robot;
|
||||
using namespace Base;
|
||||
using namespace KDL;
|
||||
|
||||
Reference in New Issue
Block a user