mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 22:03:34 +08:00
update mavlink submodule to latest
- update MAV_TYPE VTOL usage for current mavlink
This commit is contained in:
committed by
Lorenz Meier
parent
a5bd65b923
commit
98623f69a3
@@ -93,9 +93,9 @@ private:
|
||||
if (system_type == MAV_TYPE_QUADROTOR ||
|
||||
system_type == MAV_TYPE_HEXAROTOR ||
|
||||
system_type == MAV_TYPE_OCTOROTOR ||
|
||||
system_type == MAV_TYPE_VTOL_DUOROTOR ||
|
||||
system_type == MAV_TYPE_VTOL_QUADROTOR ||
|
||||
system_type == MAV_TYPE_VTOL_RESERVED2) {
|
||||
system_type == MAV_TYPE_VTOL_TAILSITTER_DUOROTOR ||
|
||||
system_type == MAV_TYPE_VTOL_TAILSITTER_QUADROTOR ||
|
||||
system_type == MAV_TYPE_VTOL_FIXEDROTOR) {
|
||||
|
||||
/* multirotors: set number of rotor outputs depending on type */
|
||||
|
||||
@@ -110,15 +110,15 @@ private:
|
||||
n = 6;
|
||||
break;
|
||||
|
||||
case MAV_TYPE_VTOL_DUOROTOR:
|
||||
case MAV_TYPE_VTOL_TAILSITTER_DUOROTOR:
|
||||
n = 2;
|
||||
break;
|
||||
|
||||
case MAV_TYPE_VTOL_QUADROTOR:
|
||||
case MAV_TYPE_VTOL_TAILSITTER_QUADROTOR:
|
||||
n = 4;
|
||||
break;
|
||||
|
||||
case MAV_TYPE_VTOL_RESERVED2:
|
||||
case MAV_TYPE_VTOL_FIXEDROTOR:
|
||||
n = 8;
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user