rename BoozSupervision struct to Supervision

This commit is contained in:
Felix Ruess
2010-09-28 12:27:18 +00:00
parent 537b2415d6
commit 397cfbbfd0
2 changed files with 6 additions and 6 deletions
@@ -42,7 +42,7 @@ static const int32_t pitch_coef[SUPERVISION_NB_MOTOR] = SUPERVISION_PITCH_COEF;
static const int32_t yaw_coef[SUPERVISION_NB_MOTOR] = SUPERVISION_YAW_COEF;
static const int32_t thrust_coef[SUPERVISION_NB_MOTOR] = SUPERVISION_THRUST_COEF;
struct BoozSupervision supervision;
struct Supervision supervision;
void supervision_init(void) {
uint8_t i;
@@ -1,10 +1,10 @@
#ifndef BOOZ_SUPERVISION_H
#define BOOZ_SUPERVISION_H
#ifndef SUPERVISION_H
#define SUPERVISION_H
#include "std.h"
#include "airframe.h"
struct BoozSupervision {
struct Supervision {
int32_t commands[SUPERVISION_NB_MOTOR];
int32_t trim[SUPERVISION_NB_MOTOR];
bool_t override_enabled[SUPERVISION_NB_MOTOR];
@@ -12,10 +12,10 @@ struct BoozSupervision {
uint32_t nb_failure;
};
extern struct BoozSupervision supervision;
extern struct Supervision supervision;
extern void supervision_init(void);
extern void supervision_run(bool_t motors_on, bool_t override_on, int32_t in_cmd[]);
extern void supervision_run_spinup(uint32_t counter, uint32_t max_counter);
#endif /* BOOZ_SUPERVISION_H */
#endif /* SUPERVISION_H */