Skip to content

Commit ec1dc7c

Browse files
committed
AP_Scripting: adjust for renaming of SIM_GPS_DISABLE to SIM_GPS1_ENABLE
1 parent efba110 commit ec1dc7c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

libraries/AP_Scripting/applets/copter-deadreckon-home.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
--
3232
-- Testing in SITL:
3333
-- a. set map setshowsimpos 1 (to allow seeing where vehicle really is in simulator even with GPS disabled)
34-
-- b. set SIM_GPS_DISABLE = 1 to disable GPS (confirm dead reckoning begins)
35-
-- c. set SIM_GPS_DISABLE = 0 to re-enable GPS
34+
-- b. set SIM_GPS1_ENABLE = 0 to disable GPS (confirm dead reckoning begins)
35+
-- c. set SIM_GPS1_ENABLE = 1 to re-enable GPS
3636
-- d. set SIM_GPS_NUMSAT = 3 to lower simulated satellite count to confirm script triggers
3737
-- e. set DR_GPS_SACC_MAX = 0.01 to lower the threshold and trigger below the simulator value which is 0.04 (remember to set this back after testing!)
3838
--

libraries/AP_Scripting/applets/copter-deadreckon-home.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ Deadreckoning will only be activated while the vehicle is in autonomous modes (e
3939
## Testing in SITL
4040

4141
- set map setshowsimpos 1 (to allow seeing where vehicle really is in simulator even with GPS disabled)
42-
- set SIM_GPS_DISABLE = 1 to disable GPS (confirm dead reckoning begins)
43-
- set SIM_GPS_DISABLE = 0 to re-enable GPS
42+
- set SIM_GPS1_ENABLE = 0 to disable GPS (confirm dead reckoning begins)
43+
- set SIM_GPS1_ENABLE = 1 to re-enable GPS
4444
- set SIM_GPS_NUMSAT = 3 to lower simulated satellite count to confirm script triggers
4545
- set DR_GPS_SACC_MAX = 0.01 to lower the threshold and trigger below the simulator value which is 0.04 (remember to set this back after testing!)
4646

0 commit comments

Comments
 (0)