mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 22:13:34 +08:00
Add new fixed wing rate control module (fw_rate_control)
* Fixedwing rate control into a separate module * Start fw_rate_control for vtol * Move over airspeed related parameters to fw_rate_control Co-authored-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
co-authored by
Silvan Fuhrer
parent
4c2c06060d
commit
21e88f64b4
@@ -49,8 +49,7 @@ float ECL_PitchController::control_attitude(const float dt, const ECL_ControlDat
|
||||
if (!(PX4_ISFINITE(ctl_data.pitch_setpoint) &&
|
||||
PX4_ISFINITE(ctl_data.roll) &&
|
||||
PX4_ISFINITE(ctl_data.pitch) &&
|
||||
PX4_ISFINITE(ctl_data.euler_yaw_rate_setpoint) &&
|
||||
PX4_ISFINITE(ctl_data.airspeed))) {
|
||||
PX4_ISFINITE(ctl_data.euler_yaw_rate_setpoint))) {
|
||||
|
||||
return _body_rate_setpoint;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user