AP_Scripting: adjust for renaming of SIM_GPS_DISABLE to SIM_GPS1_ENABLE

This commit is contained in:
Peter Barker 2024-11-13 07:30:18 +11:00 committed by Peter Barker
parent efba110ef9
commit ec1dc7cbc5
2 changed files with 4 additions and 4 deletions

View File

@ -31,8 +31,8 @@
-- --
-- Testing in SITL: -- Testing in SITL:
-- a. set map setshowsimpos 1 (to allow seeing where vehicle really is in simulator even with GPS disabled) -- a. set map setshowsimpos 1 (to allow seeing where vehicle really is in simulator even with GPS disabled)
-- b. set SIM_GPS_DISABLE = 1 to disable GPS (confirm dead reckoning begins) -- b. set SIM_GPS1_ENABLE = 0 to disable GPS (confirm dead reckoning begins)
-- c. set SIM_GPS_DISABLE = 0 to re-enable GPS -- c. set SIM_GPS1_ENABLE = 1 to re-enable GPS
-- d. set SIM_GPS_NUMSAT = 3 to lower simulated satellite count to confirm script triggers -- d. set SIM_GPS_NUMSAT = 3 to lower simulated satellite count to confirm script triggers
-- 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!) -- 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!)
-- --

View File

@ -39,8 +39,8 @@ Deadreckoning will only be activated while the vehicle is in autonomous modes (e
## Testing in SITL ## Testing in SITL
- set map setshowsimpos 1 (to allow seeing where vehicle really is in simulator even with GPS disabled) - set map setshowsimpos 1 (to allow seeing where vehicle really is in simulator even with GPS disabled)
- set SIM_GPS_DISABLE = 1 to disable GPS (confirm dead reckoning begins) - set SIM_GPS1_ENABLE = 0 to disable GPS (confirm dead reckoning begins)
- set SIM_GPS_DISABLE = 0 to re-enable GPS - set SIM_GPS1_ENABLE = 1 to re-enable GPS
- set SIM_GPS_NUMSAT = 3 to lower simulated satellite count to confirm script triggers - set SIM_GPS_NUMSAT = 3 to lower simulated satellite count to confirm script triggers
- 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!) - 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!)