mirror of https://github.com/ArduPilot/ardupilot
Copter: single and coax copters become mav_type quadrotor
This commit is contained in:
parent
379ca5ac00
commit
a77dd59dc6
|
@ -88,10 +88,8 @@ NOINLINE void Copter::send_heartbeat(mavlink_channel_t chan)
|
|||
MAV_TYPE_OCTOROTOR,
|
||||
#elif (FRAME_CONFIG == HELI_FRAME)
|
||||
MAV_TYPE_HELICOPTER,
|
||||
#elif (FRAME_CONFIG == SINGLE_FRAME) //because mavlink did not define a singlecopter, we use a rocket
|
||||
MAV_TYPE_ROCKET,
|
||||
#elif (FRAME_CONFIG == COAX_FRAME) //because mavlink did not define a singlecopter, we use a rocket
|
||||
MAV_TYPE_ROCKET,
|
||||
#elif (FRAME_CONFIG == SINGLE_FRAME || FRAME_CONFIG == COAX_FRAME) //because mavlink did not define a singlecopter, we use a rocket
|
||||
MAV_TYPE_QUADROTOR,
|
||||
#else
|
||||
#error Unrecognised frame type
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue