mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 03:23:35 +08:00
VTOL pusher/tilt support: addressed review comments:
- remove gloabl variable and instead give back forward_thrust from function - give back increased vertical thrust from fct thrust_compensation_for_tilt() Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
@@ -317,9 +317,7 @@ void Standard::update_mc_state()
|
||||
{
|
||||
VtolType::update_mc_state();
|
||||
|
||||
VtolType::pusher_assist();
|
||||
|
||||
_pusher_throttle = _forward_thrust;
|
||||
_pusher_throttle = VtolType::pusher_assist();
|
||||
}
|
||||
|
||||
void Standard::update_fw_state()
|
||||
|
||||
Reference in New Issue
Block a user