44 #ifndef FASTRACK_CONTROL_QUADROTOR_CONTROL_BOUND_CYLINDER_H 45 #define FASTRACK_CONTROL_QUADROTOR_CONTROL_BOUND_CYLINDER_H 76 if (&other ==
this)
return *
this;
99 constexpr
double kSmallNumber = 1e-8;
100 const double scaling =
102 std::max(kSmallNumber, std::hypot(query.
pitch, query.
roll));
~QuadrotorControlBoundCylinder()
QuadrotorControl ProjectToSurface(const QuadrotorControl &query) const
double ProjectToSurface(const double &query) const
QuadrotorControlBoundCylinder & operator=(const QuadrotorControlBoundCylinder &other)
double pitch_roll_radius_
ScalarBoundInterval thrust_interval_
bool Contains(const double &query) const
ScalarBoundInterval yaw_rate_interval_
QuadrotorControlBoundCylinder(const std::vector< double > ¶ms)
QuadrotorControlBoundCylinder(double radius, const ScalarBoundInterval &yaw_rate, const ScalarBoundInterval &thrust)
bool Contains(const QuadrotorControl &query) const