Andrew Tridgell
0de65ca734
AP_Notify: removed unusued AP_Common/Semaphore.h
6 years ago
Andrew Tridgell
a3b283708b
AP_IRLock: removed unusued AP_Common/Semaphore.h
6 years ago
Andrew Tridgell
4e769730c9
AP_InertialSensor: removed unusued AP_Common/Semaphore.h
6 years ago
Andrew Tridgell
916b3003e1
AP_HAL_SITL: removed unusued AP_Common/Semaphore.h
6 years ago
Andrew Tridgell
a159b01b26
AP_HAL_Linux: removed unusued AP_Common/Semaphore.h
6 years ago
Andrew Tridgell
d368d95aa7
HAL_ChibiOS: removed unusued AP_Common/Semaphore.h
6 years ago
Andrew Tridgell
9f5a598697
AP_GPS: removed unusued AP_Common/Semaphore.h
6 years ago
Andrew Tridgell
9e7929adf6
AP_Compass: removed unusued AP_Common/Semaphore.h
6 years ago
Andrew Tridgell
71e91c953a
AP_BattMonitor: removed unusued AP_Common/Semaphore.h
6 years ago
Andrew Tridgell
097519926d
AP_Baro: removed unusued AP_Common/Semaphore.h
6 years ago
Andrew Tridgell
f8741f2e2a
AP_Avoidance: removed unusued AP_Common/Semaphore.h
6 years ago
Andrew Tridgell
03fb0b803b
AP_Airspeed: removed unusued AP_Common/Semaphore.h
6 years ago
Andrew Tridgell
11ceacfdb6
AP_AHRS: removed unusued AP_Common/Semaphore.h
6 years ago
Andrew Tridgell
75397c1734
AP_Common: removed old Semaphore.h
...
now moved to AP_HAL/Semaphores.h
6 years ago
Andrew Tridgell
8f973da4b5
AP_HAL: moved the WITH_SEMAPHORE() logic into AP_HAL
...
this is needed to allow us to record the location of a blocking
semaphore to track down bugs where we have a semaphore deadlock
6 years ago
Andrew Tridgell
e3c80bf08f
HAL_ChibiOS: fixed bootloader build
6 years ago
Andrew Tridgell
d7a0eb42ee
HAL_ChibiOS: added logging of watchdog data
...
log MON msgs in the leadup to a watchdog, and log a WDOG message after
a watchdog reset
6 years ago
Andrew Tridgell
b217771dbf
AP_InternalError: persist internal error values
6 years ago
Andrew Tridgell
45d5e7f6d2
AP_HAL: added persistance for internal errors
6 years ago
Andrew Tridgell
49061aae67
AP_Scheduler: use persistent_data for current_task
6 years ago
Andrew Tridgell
0873e54cc0
HAL_SITL: fixed build error
6 years ago
Andrew Tridgell
4b298aa80e
AP_HAL: add scheduler state to persistent_data
6 years ago
Andrew Tridgell
9173989e63
AP_Mission: save waypoint number for watchdog reset
6 years ago
Andrew Tridgell
ebf04e70fe
AP_InternalError: don't panic on SITL watchdog_reset
6 years ago
Andrew Tridgell
6897cecea2
HAL_SITL: support watchdog reset in SITL
...
this only works for speedup 1, and does not initialise the physics
models correctly for internal models
6 years ago
Andrew Tridgell
74e56ab8cc
AP_AHRS: use new persistent_data interface
6 years ago
Andrew Tridgell
dbfe6b8019
HAL_ChibiOS: implement persistent_data for watchdog
...
this is a much simpler approach to persistent data
6 years ago
Andrew Tridgell
11c123e4da
AP_HAL: added persistent_data structure
...
this is a much simpler way to save data for a watchdog reset
6 years ago
Tom Pittenger
1f3c3c853f
GCS_MAVLink: move heartbeat sending to gcs instead of by vehicles
6 years ago
Peter Barker
0d1b7b90b9
AP_Param: avoid allocating 0 bytes if no defaults
...
This stopped CUAVv5 from booting.
Also add some protection against having different parsers for the same
file format used for counting parameters and actually using them.
6 years ago
Michael du Breuil
7b7bdd9bf8
AP_BattMonitor: Prevent capacity_remaining_pct from returning a large
...
value when low
6 years ago
Michael du Breuil
7871040bb6
AP_GPS: Pass an in range value for the param initilizer
6 years ago
Michael du Breuil
1040ca2d5e
AP_Landing: Fix shadowing with deepstall
...
Was breaking clang 8 builds
6 years ago
Peter Barker
77985f509f
AP_Follow: correct parameter descriptions
6 years ago
Michael du Breuil
8db8dcd2d2
AP_Scripting: Fix up some warnings
...
-Remove some non forward declared issues
-Remove forced min/max values from the enum range check
6 years ago
Michael du Breuil
bd256afee4
AP_Scripting: extract a common argument check helper
...
Allows an easy additional flag for saving flash space
6 years ago
Michael du Breuil
84c2b18e43
AP_Scripting: Support enum types, add millis() remove manual GCS wrapper
...
This introduces enum types for range checking/returns, adds a millis(() call
(this returns a uint32_t), and moves over to an auto generated version of the GCS binding
6 years ago
Michael du Breuil
eddf926433
AP_Scripting: Add support for semaphore protection around singletons
...
This makes the assumption that the semaphore is available via reference, not pointer
For a singleton object this seems like a reasonable API restriction
6 years ago
Andrew Tridgell
6333494d99
HAL_ChibiOS: disable peripheral power on boot on fmuv3
...
then enable after 100ms, and let settle for 20ms. This is to fix an
issue with peripheral power on consistency with all fmuv3 boards
Thanks to Philip for the suggestion
6 years ago
Randy Mackay
0a5d6a430a
AP_NavEKF3: accept optical flow data at up to 50hz
6 years ago
Randy Mackay
e19d638c0f
AP_NavEKF2: support higher optical flow updates rates
6 years ago
Randy Mackay
5c99f02c15
AP_LandingGear: minor format fix
6 years ago
Tom Pittenger
fc710d8a81
RC_Channel: remove UINT16_MAX check, moved to mavlink handler
6 years ago
Tom Pittenger
4c641c6e2b
GCS_MAVLink: comply with mavlink spec to ignore rc_override UINT16_MAX
6 years ago
Andrew Tridgell
ce9e9d8670
HAL_ChibiOS: end scheduler boost on expected delay
...
we want timer thread to be higher priority than main thread while in a
long operation
6 years ago
Rajat Singhal
2c519d5176
SITL: Fix to sync to JSBSim simulation time
...
SITL: Additional fix to remove time-lag in JSBSim
6 years ago
Rajat Singhal
dedb7e108f
SITL: Added <time> tag to JSBSim output directive
...
Instructs JSBSim to transmit current simulation time which is used to sync with Ardupilot
6 years ago
Rajat Singhal
2317e73e0b
SITL: JSBSim: Use rate_hz to specify timestep
6 years ago
Rajat Singhal
732f2e7a2e
SITL: Change JSBSim mode to Batch mode, specify nice sleeptime
...
Previously it was run in realtime mode which doesn't support iterate command. Without setting sleeptime, defaults to 0.01s which slows down a lot
6 years ago
Phillip Kocmoud
069d054e5c
AP_Baro.cpp: support DPS280 on SPI
6 years ago