mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 23:49:00 +08:00
rename BoozSupervision struct to Supervision
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user