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.
10 lines
202 B
C
10 lines
202 B
C
/* 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);
|