74 float yaw_rate = 0.0f, pitch_rate = 0.0f;
85 float roll_current =
degrees(r);
113 float roll_rate = 0 - roll_current;
117 printf(
"roll=%.1f pitch=%.1f yaw=%.1f rates=%.1f/%.1f/%.1f in=%.3f,%.3f\n",
121 roll_rate, pitch_rate, yaw_rate,
void to_euler(float *roll, float *pitch, float *yaw) const
int printf(const char *fmt,...)
Vector3< float > Vector3f
void update(const struct sitl_input &input)
void update_onoff_servos(float &yaw_rate, float &pitch_rate)
Matrix3< T > transposed(void) const
float yaw_current_relative
void update_mag_field_bf(void)
float constrain_float(const float amt, const float low, const float high)
void update_position(void)
static constexpr float radians(float deg)
Tracker(const char *home_str, const char *frame_str)
void rotate(const Vector3< T > &g)
void update_position_servos(float delta_time, float &yaw_rate, float &pitch_rate)
float pitch_current_relative