Skip to content

Commit

Permalink
offboardCheck: acceleration setpoints only require vehicle attitude c…
Browse files Browse the repository at this point in the history
…ontrol
  • Loading branch information
MaEtUgR committed Dec 19, 2024
1 parent ad799b6 commit 5cf85e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void OffboardChecks::checkAndReport(const Context &context, Report &reporter)
} else if (offboard_control_mode.velocity && reporter.failsafeFlags().local_velocity_invalid) {
offboard_available = false;

} else if (offboard_control_mode.acceleration && reporter.failsafeFlags().local_velocity_invalid) {
} else if (offboard_control_mode.acceleration && reporter.failsafeFlags().attitude_invalid) {
// OFFBOARD acceleration handled by position controller
offboard_available = false;
}
Expand Down

0 comments on commit 5cf85e3

Please sign in to comment.