sentry_gimbal_hzz/modules/general_def.h

13 lines
258 B
C
Raw Normal View History

#ifndef GENERAL_DEF_H
#define GENERAL_DEF_H
#define PI 3.1415926535f
#define PI2 (PI * 2.0f) // 2 pi
#define RAD_2_ANGLE (180.0f / PI)
#define ANGLE_2_RAD (PI / 180.0f)
#define RPM_2_ANGLE_PER_SEC (360.0f/60.0f) // ×360°/60sec
#endif // !GENERAL_DEF_H