Skip to content

Commit

Permalink
Plane: Write_Rate() moved to AC_AttitudeControl
Browse files Browse the repository at this point in the history
  • Loading branch information
andyp1per committed Sep 4, 2024
1 parent 8959b41 commit d9c82b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArduPlane/quadplane.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1764,7 +1764,7 @@ void QuadPlane::update(void)
const bool motors_active = in_vtol_mode() || assisted_flight;
if (motors_active && (motors->get_spool_state() != AP_Motors::SpoolState::SHUT_DOWN)) {
// log RATE at main loop rate
ahrs_view->Write_Rate(*motors, *attitude_control, *pos_control);
attitude_control->Write_Rate(*motors, *pos_control);

// log CTRL and MOTB at 10 Hz
if (now - last_ctrl_log_ms > 100) {
Expand Down

0 comments on commit d9c82b3

Please sign in to comment.