mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00:00
airframes: added BlueROV2 (heavy configuration) airframe (#16004)
This commit is contained in:
committed by
GitHub
parent
5b7d1a0496
commit
82988b1912
@@ -96,14 +96,20 @@ mavlink_hil_actuator_controls_t Simulator::actuator_controls_from_outputs()
|
||||
_system_type == MAV_TYPE_VTOL_DUOROTOR ||
|
||||
_system_type == MAV_TYPE_VTOL_QUADROTOR ||
|
||||
_system_type == MAV_TYPE_VTOL_TILTROTOR ||
|
||||
_system_type == MAV_TYPE_VTOL_RESERVED2) {
|
||||
_system_type == MAV_TYPE_VTOL_RESERVED2 ||
|
||||
_system_type == MAV_TYPE_SUBMARINE) {
|
||||
|
||||
/* multirotors: set number of rotor outputs depending on type */
|
||||
|
||||
unsigned n;
|
||||
|
||||
switch (_system_type) {
|
||||
case MAV_TYPE_SUBMARINE:
|
||||
n = 0;
|
||||
break;
|
||||
|
||||
case MAV_TYPE_AIRSHIP:
|
||||
|
||||
case MAV_TYPE_VTOL_DUOROTOR:
|
||||
n = 2;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user