2016-11-16 23:58:49 -04:00
|
|
|
# Parameters to allow use of indoor loiter with AP_Beacon library and Pozyx running IndoorLoiter2.ino and plugged into Telem2
|
|
|
|
#
|
2016-11-15 21:50:32 -04:00
|
|
|
# disable GPS arming check
|
|
|
|
ARMING_CHECK,-9
|
2016-11-16 23:58:49 -04:00
|
|
|
# Set beacon origin to be approx 1.2m above ground level
|
|
|
|
BCN_ALT,585.3
|
|
|
|
# the beacon origin must match the flight simulator origin - set to default SITL location (Australia)
|
2016-11-15 21:50:32 -04:00
|
|
|
BCN_LATITUDE,-35.363261
|
|
|
|
BCN_LONGITUDE,149.165230
|
2016-11-16 23:58:49 -04:00
|
|
|
# tell the beacon library we are using simulated beacons
|
2016-11-15 21:50:32 -04:00
|
|
|
BCN_TYPE,10
|
2016-11-16 23:58:49 -04:00
|
|
|
# tell the autopilot to ignore the GPS
|
|
|
|
GPS_TYPE,0
|
|
|
|
# log data before arming to asist with diasnostics
|
2016-12-04 22:03:39 -04:00
|
|
|
LOG_DISARMED,1
|
2016-11-16 23:58:49 -04:00
|
|
|
# Make sure the normal EKF aiding mode is selected (beacon fusion not tested in other modes)
|
2016-11-15 21:50:32 -04:00
|
|
|
EK2_GPS_TYPE,0
|
2016-12-05 03:34:37 -04:00
|
|
|
EK3_GPS_TYPE,0
|