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:
Silvan Fuhrer
2020-02-07 16:43:44 +01:00
committed by Beat Küng
parent 5ae4ca8ff1
commit a26e914ef4
5 changed files with 19 additions and 25 deletions
+1 -3
View File
@@ -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()