Files
quadrotor/wmp.h
Gavan Fantom 3f12132231 Lots of development of new features. Radio input, motor output, PID control
loops, boot-time initialisation, option to run without attached UART.

And.. it flies!
2012-08-30 12:42:38 +00:00

26 lines
485 B
C

#ifndef __WMP_H
#define __WMP_H
#include "types.h"
extern unsigned int wmp_yaw;
extern unsigned int wmp_pitch;
extern unsigned int wmp_roll;
extern unsigned char wmp_calibration_data[];
extern bool wmp_yaw_fast;
extern bool wmp_pitch_fast;
extern bool wmp_roll_fast;
extern bool wmp_zero;
bool wmp_init(void);
bool wmp_sample(void);
bool wmp_read_calibration_data(void);
bool wmp_start_sample(void);
void wmp_event_handler(void);
void wmp_start_zero(void);
#endif /* __WMP_H */