Plane: system use new transtion class

This commit is contained in:
Iampete1 2021-09-18 00:27:15 +01:00 committed by Andrew Tridgell
parent 99d98cc5b8
commit 7af1b40fb8
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ int8_t Plane::throttle_percentage(void)
{
#if HAL_QUADPLANE_ENABLED
if (quadplane.in_vtol_mode() && !quadplane.tailsitter.in_vtol_transition()) {
return quadplane.throttle_percentage();
return quadplane.motors->get_throttle_out() * 100.0;
}
#endif
float throttle = SRV_Channels::get_output_scaled(SRV_Channel::k_throttle);