Navigator remove unnecessary calls to updateParams

- the SuperBlock already does this
This commit is contained in:
Daniel Agar
2018-01-14 12:53:53 +01:00
committed by Lorenz Meier
parent 6227139df1
commit 25c7a03a8b
24 changed files with 107 additions and 274 deletions
+1 -7
View File
@@ -51,19 +51,13 @@
using matrix::Eulerf;
using matrix::Quatf;
static constexpr float DELAY_SIGMA = 0.01f;
GpsFailure::GpsFailure(Navigator *navigator, const char *name) :
MissionBlock(navigator, name),
_param_loitertime(this, "LT"),
_param_openlooploiter_roll(this, "R"),
_param_openlooploiter_pitch(this, "P"),
_param_openlooploiter_thrust(this, "TR"),
_gpsf_state(GPSF_STATE_NONE),
_timestamp_activation(0)
_param_openlooploiter_thrust(this, "TR")
{
/* initial reset */
on_inactive();
}
void