mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Plane: By multiple bit synthetic, can this method once access.
This commit is contained in:
parent
0e17cff099
commit
e6bef2526c
@ -4,11 +4,11 @@
|
|||||||
|
|
||||||
void Plane::init_capabilities(void)
|
void Plane::init_capabilities(void)
|
||||||
{
|
{
|
||||||
hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT);
|
hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT |
|
||||||
hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT);
|
MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT |
|
||||||
hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_COMMAND_INT);
|
MAV_PROTOCOL_CAPABILITY_COMMAND_INT |
|
||||||
hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_MISSION_INT);
|
MAV_PROTOCOL_CAPABILITY_MISSION_INT |
|
||||||
hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT);
|
MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT |
|
||||||
hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET);
|
MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user