mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-29 04:20:34 +08:00
offboardCheck: acceleration setpoints only require vehicle attitude control
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user