Quadrotor from scratch
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

14 lines
303 B

/* dcm.h */
#include "types.h"
extern float delta_t;
void dcm_update(vec3f gyro);
void dcm_normalise(void);
bool dcm_renormalise(float *v);
void dcm_dump(void);
void dcm_send_packet(void);
void dcm_setvector(vec3f zvec);
void dcm_drift_correction(vec3f accel);
void dcm_attitude_error(vec3f target);