[rotwing] Update state machine (#3397)

* first push

* starting to fix make modules

* Fixed test modules

* Update flight plan valkenburgh

* fix define
This commit is contained in:
Tomaso Maria Luigi De Ponti
2024-10-30 16:47:21 +01:00
committed by GitHub
parent bdad22ca96
commit 655a496f7e
17 changed files with 601 additions and 1138 deletions
@@ -411,7 +411,7 @@ void guidance_indi_enter(void)
init_butterworth_2_low_pass(&guidance_indi_airspeed_filt, tau_guidance_indi_airspeed, sample_time, 0.0);
}
void guidance_indi_set_min_max_airspeed(float min_airspeed, float max_airspeed) {
void guidance_set_min_max_airspeed(float min_airspeed, float max_airspeed) {
gih_params.min_airspeed = min_airspeed;
gih_params.max_airspeed = max_airspeed;
}
@@ -70,7 +70,7 @@ enum GuidanceIndiHybrid_VMode {
extern struct StabilizationSetpoint guidance_indi_run(struct FloatVect3 *accep_sp, float heading_sp);
extern struct StabilizationSetpoint guidance_indi_run_mode(bool in_flight, struct HorizontalGuidance *gh, struct VerticalGuidance *gv, enum GuidanceIndiHybrid_HMode h_mode, enum GuidanceIndiHybrid_VMode v_mode);
extern void guidance_indi_set_min_max_airspeed(float min_airspeed, float max_airspeed);
extern void guidance_set_min_max_airspeed(float min_airspeed, float max_airspeed);
struct guidance_indi_hybrid_params {
float pos_gain;