mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Copter: add compass cal capability bit
This commit is contained in:
parent
e421e95782
commit
9b66f21809
@ -9,7 +9,8 @@ void Copter::init_capabilities(void)
|
||||
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);
|
||||
MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET |
|
||||
MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION);
|
||||
#if AP_TERRAIN_AVAILABLE && AC_TERRAIN
|
||||
hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_TERRAIN);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user