63 void setSpoolupTime(
const float seconds) { _spoolup_time_hysteresis.set_hysteresis_time_from(
false, (
hrt_abstime)(seconds * (
float)1_s)); }
71 void generateInitialRampValue(
const float hover_thrust,
const float velocity_p_gain);
78 void updateTakeoffState(
const bool armed,
const bool landed,
const bool want_takeoff,
79 const float takeoff_desired_vz,
const bool skip_takeoff,
const hrt_abstime &now_us);
89 float updateRamp(
const float dt,
const float takeoff_desired_vz);
96 float _takeoff_ramp_time = 0.f;
97 float _takeoff_ramp_vz_init = 0.f;
98 float _takeoff_ramp_vz = 0.f;
High-resolution timer with callouts and timekeeping.
void setTakeoffRampTime(const float seconds)
static struct actuator_armed_s armed
__BEGIN_DECLS typedef uint64_t hrt_abstime
Absolute time, in microsecond units.
void setSpoolupTime(const float seconds)
Hysteresis of a boolean value.
TakeoffState getTakeoffState()