ardupilot/libraries/Desktop/support/util.h
Andrew Tridgell 66d65121cc autotest: switch to big-endian metric packets internally
now that all the sim code is internal to the APM git repo, we can
choose saner packet formats
2011-12-02 22:12:58 +11:00

9 lines
209 B
C

#define ft2m(x) ((x) * 0.3048)
#define kt2mps(x) ((x) * 0.514444444)
#define sqr(x) ((x)*(x))
void set_nonblocking(int fd);
double normalise(double v, double min, double max);
double normalise180(double v);