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
Andrew Tridgell
c63459c237
AP_HAL: added save/restore of attitude in backup registers
6 years ago
Andrew Tridgell
bd84c0a8df
AP_HAL: added save/restore of home to backup registers
6 years ago
Andrew Tridgell
4a3687fcf6
AP_HAL: added was_watchdog_armed()
...
allow decisions to be based on whether this is a watchdog reset and we
were armed
6 years ago
Andrew Tridgell
8d2f094257
AP_HAL: added was_watchdog_safety_off()
...
used to restore safety state on watchdog reset
6 years ago
Andrew Tridgell
7f96d4ad12
AP_HAL: added was_watchdog_reset()
6 years ago
Peter Barker
8efda2b792
AP_HAL: GCS_MAVLink takes care of mavlink capabilities
6 years ago
Michael du Breuil
44079dcc46
AP_HAL: Add scripting heap
6 years ago
Andrew Tridgell
d8cf1997d2
AP_HAL: added fs_init() to Util API
6 years ago
Siddharth Purohit
df7d0d1971
AP_HAL: add support for unformatted board id
6 years ago
Andrew Tridgell
5924816bbe
AP_HAL: removed hal.util->new_semaphore()
...
replaced with HAL_Semaphore
6 years ago
Andrew Tridgell
949324ff2b
AP_HAL: added duration to toneAlarm_set_buzzer_tone
7 years ago
Jonathan Challinger
f936b1dbc2
AP_HAL: change tonealarm interface
7 years ago
Andrew Tridgell
cb19d4dffc
AP_HAL: added toneAlarm_set_tune_string
7 years ago
Peter Barker
b9b0ef0c77
AP_HAL: add flash_bootloader to AP_HAL API
7 years ago
Peter Barker
f5eb281efd
AP_HAL: use AP_RTC
...
Also add a define as to whether set_time / get_time can be used
7 years ago
Lucas De Marchi
ff6e76ea6a
AP_HAL_Linux: add custom storage directory
7 years ago
Peter Barker
6c7c916c78
AP_HAL: eliminate AP_HAL::Print and AP_HAL::Stream
...
Just *way* too many layers involved here
7 years ago
Andrew Tridgell
4322ef7ca4
AP_HAL: prevent valgrind errors in EKF
...
ensure that EKF memory is zero on start
7 years ago
bugobliterator
9d6ab78376
AP_HAL: add support for memory allocation by region type
7 years ago
Peter Barker
18d8f9ba9d
AP_HAL: make get_custom_log_directory const
8 years ago
Andrew Tridgell
e42bb20052
AP_HAL: added dma allocation routines to hal.util
8 years ago
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
8 years ago
Andrew Tridgell
6e065b3fe2
AP_HAL: fixed typo
9 years ago
Andrew Tridgell
8617db89dc
AP_HAL: added hal.util->set_imu_target_temp() API
9 years ago
Lucas De Marchi
9738be0ed6
AP_HAL: remove tabs and trailing whitespaces
9 years ago
Niti Rohilla
faec752801
AP_HAL: add get_system_clock_utc functions to Util
9 years ago
Lucas De Marchi
dbf2aedf1e
AP_HAL: replace header guard with pragma once
9 years ago
Andrew Tridgell
5f4bd10477
AP_HAL: added get_custom_defaults_file() to Util
9 years ago
Andrew Tridgell
9d4b31ca3c
AP_HAL: added a new_semaphore() interface to Util
9 years ago
Andrew Tridgell
8a4c0593f2
AP_HAL: make available_memory() uint32_t
9 years ago
Lucas De Marchi
a8455aa4e3
AP_HAL: Remove Util::{v,}snprintf_P()
9 years ago
Andrew Tridgell
28fa05c965
AP_HAL: added generic perf counter
...
simple wrapper around PX4 API, but ready for use by other HALs
9 years ago
Julien BERAUD
f231182cd9
AP_HAL: Add support for a Heater
...
Add heater class and non-pure virtual method to Util class in order to do
nothing in case the function is not implemented
9 years ago
Andrew Tridgell
e889886e07
AP_HAL: start with the vehicle disarmed
...
this prevents a race condition on startup that can cause a UAVCAN ESC
to run while the vehicle is booting
10 years ago
Gustavo Jose de Sousa
0456eccca8
AP_HAL: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Randy Mackay
810973ce95
HAL: define capability bitmask
10 years ago
Víctor Mayoral Vilches
e5a90c7a34
AP_HAL: Util, add custom terrain and log methods
10 years ago
Andrew Tridgell
7f239f5d46
AP_HAL: added get_shell_stream()
10 years ago
Jonathan Challinger
aa7776ea59
AP_HAL: add soft_armed state to hal.util
10 years ago
bugobliterator
ad460659ad
AP_HAL: make toneAlarm_init() return bool
10 years ago
bugobliterator
af203760bd
HAL_Linux: change the return type of AP_HAL::Util::tonealarm_init() to signed int8_t.
...
This is a part of a set of fixes for the bugs and typos tridge discovered and shared inside earlier commits for setting up tonealarm.
10 years ago
bugobliterator
fa6e83318d
AP_HAL: Add virtual toneAlarm member functions to be declared under Linux_HAL
10 years ago
Andrew Tridgell
735c6449a1
AP_HAL: added support for commandline arguments
...
useful for log replay, specifying log file
11 years ago
Andrew Tridgell
172398a971
AP_HAL: added available_memory() interface
11 years ago
Andrew Tridgell
f95bea699b
AP_HAL: added get_system_id() method on Util
11 years ago
Andrew Tridgell
0ca82d5e3c
AP_HAL: added set_system_clock() API
11 years ago
Andrew Tridgell
34a328f66d
AP_HAL: added safety_switch_state() function in hal.util
...
will be used by copter to check safety switch is set
12 years ago
Andrew Tridgell
60122f9877
AP_HAL: moved printf implementation from AP_HAL_AVR to AP_HAL
...
this gives a common printf implementation on all boards, which
simplifies testing, and also simplifies porting to new boards
12 years ago
Andrew Tridgell
70f7cde9b8
AP_HAL: added run_debug_shell() hal.util method
12 years ago