Files
quadrotor/dcm.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

15 lines
378 B
C

/* dcm.h */
#include "types.h"
extern float delta_t;
void dcm_update(float omega_x, float omega_y, float omega_z);
void dcm_normalise(void);
bool dcm_renormalise(float *v);
void dcm_dump(void);
void dcm_send_packet(void);
void dcm_setvector(float x, float y, float z);
void dcm_drift_correction(float x, float y, float z);
void dcm_attitude_error(float x, float y, float z);