Track gyro using a DCM.

This brings in an implementation of some general matrix manipulation routines,
not all of which are used at teh moment.

Output the DCM on the UART at 50Hz for the host to display it usefully.
This commit is contained in:
2011-10-07 23:39:28 +00:00
parent 6a700d0dbe
commit 62732758a8
10 changed files with 430 additions and 16 deletions

9
dcm.h Normal file
View File

@@ -0,0 +1,9 @@
/* dcm.h */
#include "types.h"
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);