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
|
|
|
{
|
2015-07-30 03:44:18 -03:00
|
|
|
hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT);
|
|
|
|
hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT);
|
|
|
|
hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED);
|
|
|
|
hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT);
|
2015-08-13 22:22:59 -03:00
|
|
|
hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION);
|
2015-10-10 09:41:42 -03:00
|
|
|
hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET);
|
2015-07-21 19:04:25 -03:00
|
|
|
}
|