e8f96efe72
If the RTC time we reset parameters (STAT_RESET) is zero then we reset all parameters. In SITL we only set that time if we see a GPS due to the AP_RTC RTC_TYPES parameter default bitmask value of 1 So if you reboot SITL fast enough while STAT_RESET is zero you can see that STAT_BOOTCNT does not increase. Easily reproducible in SITL; start with -w and type reboot in several times before SITL sees the GPS come up and you can see STAT_BOOTCNT doesn't increase. Fix is to ensure STAT_RESET is non-zero before rebooting. |
||
---|---|---|
.. | ||
aircraft | ||
ArduCopter_Tests | ||
ArduPlane_Tests | ||
ArduRover_Tests | ||
ArduSub_Tests | ||
default_params | ||
Generic_Missions | ||
jsb_sim | ||
logger_metadata | ||
models | ||
param_metadata | ||
pysim | ||
template | ||
web | ||
web-firmware | ||
win_sitl | ||
XPlane | ||
__init__.py | ||
antennatracker.py | ||
arducopter.py | ||
arduplane.py | ||
ardusub.py | ||
autotest.py | ||
balancebot.py | ||
bisect-helper.py | ||
build-with-disabled-features.py | ||
common.py | ||
examples.py | ||
fakepos.py | ||
fg_plane_view.bat | ||
fg_plane_view.sh | ||
fg_quad_view.bat | ||
fg_quad_view.sh | ||
junit.xml | ||
locations.txt | ||
quadplane.py | ||
README | ||
rover.py | ||
run_in_terminal_window.sh | ||
sim_vehicle.py | ||
swarminit.txt |
This is an automated test suite for APM