2015-07-21 19:04:25 -03:00
|
|
|
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
|
|
|
|
|
|
|
#include "Copter.h"
|
|
|
|
|
2015-07-30 03:44:18 -03:00
|
|
|
void Copter::init_capabilities(void)
|
2015-07-21 19:04:25 -03:00
|
|
|
{
|
2016-08-21 19:12:14 -03:00
|
|
|
hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT |
|
|
|
|
MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT |
|
|
|
|
MAV_PROTOCOL_CAPABILITY_MISSION_INT |
|
2016-08-24 23:56:32 -03:00
|
|
|
MAV_PROTOCOL_CAPABILITY_COMMAND_INT |
|
2016-08-21 19:12:14 -03:00
|
|
|
MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED |
|
|
|
|
MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT |
|
|
|
|
MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION |
|
|
|
|
MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET);
|
2016-06-27 05:10:44 -03:00
|
|
|
#if AP_TERRAIN_AVAILABLE && AC_TERRAIN
|
2016-03-19 05:09:39 -03:00
|
|
|
hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_TERRAIN);
|
2016-06-27 05:10:44 -03:00
|
|
|
#endif
|
2015-07-21 19:04:25 -03:00
|
|
|
}
|