Skip to content

Commit

Permalink
small changes before meeting Ewoud
Browse files Browse the repository at this point in the history
  • Loading branch information
electrobusy authored and EwoudSmeur committed Aug 26, 2020
1 parent fb9bb3e commit 55b5736
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
Expand Up @@ -74,7 +74,6 @@
struct Int32Eulers stab_att_sp_euler;
struct Int32Quat stab_att_sp_quat;

// static int32_t stabilization_att_indi_cmd[COMMANDS_NB];
static inline void lms_estimation(void);
static void indi_init_filters(void);

Expand Down
Expand Up @@ -83,7 +83,7 @@ static void send_rate(struct transport_tx *trans, struct link_device *dev)
pprz_msg_send_RATE_LOOP(trans, dev, AC_ID,
&stabilization_rate_sp.p,
&stabilization_rate_sp.q,
&stabilization_rate_sp.r);
&stabilization_rate_sp.r); [// CHECK WITH EWOUD]
}
#endif

Expand Down Expand Up @@ -158,10 +158,6 @@ void stabilization_rate_set_setpoint_i(struct Int32Rates *pqr)
}
*/

/* -----
-----> CHECK FROM HERE ONWARDS!
----- */

/**
* @brief Calculate commanded rates, given setpoint rates
*/
Expand Down Expand Up @@ -195,7 +191,7 @@ static void stabilization_rate_indi_calc_cmd(struct Int32Rates rates_sp, bool in
void stabilization_rate_indi_run(bool in_flight, struct Int32Rates rates_sp)
{
/* compute the INDI rate command */
stabilization_indi_rate_calc_cmd(indi_comands);
stabilization_rate_indi_calc_cmd(in_flight, rates_sp);
}

/**
Expand All @@ -204,7 +200,7 @@ void stabilization_rate_indi_run(bool in_flight, struct Int32Rates rates_sp)
void stabilization_rate_run(bool in_flight)
{
/* compute the INDI rate command */
stabilization_rate_indi_calc_cmd(in_flight, stabilization_rate_sp);
stabilization_rate_indi_run(in_flight, stabilization_rate_sp);
}

/**
Expand Down

0 comments on commit 55b5736

Please sign in to comment.