Copter: single and coax copters become mav_type quadrotor

This commit is contained in:
Randy Mackay 2016-01-30 17:15:28 +09:00
parent 379ca5ac00
commit a77dd59dc6
1 changed files with 2 additions and 4 deletions

View File

@ -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