Iampete1
cabdd82e71
AP_HAL: enable 32 servo outs
3 years ago
Andrew Tridgell
962d92acf5
AP_HAL: use array for airspeed pin value
3 years ago
Andrew Tridgell
7dc5da1247
HAL_SITL: cleanup SITL airspeed handling
...
fixed handling of EAS2TAS, and fixed ratio per sensor.
Removed the wind delay code (which was never being used). We should
add a generic delay filter if we need this again
3 years ago
murata
15a39c1649
AL_HAL: Console output can be disabled
3 years ago
Peter Barker
f934854a0c
AP_HAL: allow backends to be compiled out
3 years ago
Andy Piper
f57ac4787d
AP_HAL: add Jain's estimator
...
notch tuning using FFT averaging
allocate scratch space for peak finding
return all detected peaks to caller
3 years ago
Mirko Denecke
853fd7f8c1
AP_HAL: fix auxiliary typo
3 years ago
Randy Mackay
1ee01577f6
AP_HAL: add GPIO::pin_to_servo_channel method
3 years ago
Andy Piper
8ccc84beab
AP_HAL: add accessor for disabled channels to RCOutput
3 years ago
Andy Piper
6355934a36
AP_HAL: add bitwidth hal definitions.
...
revert to original bitwidths for neopixel and profiled
add proper neopixel test that observes spec'ed timings
3 years ago
Peter Barker
a9b90a3b5a
AP_HAL: stop libraries including AP_Logger.h in .h files
...
AP_Logger.h is a nexus of includes; while this is being improved over
time, there's no reason for the library headers to include AP_Logger.h
as the logger itself is access by singleton and the structures are in
LogStructure.h
This necessitated moving The PID_Info structure out of AP_Logger's
namespace. This cleans up a pretty nasty bit - that structure is
definitely not simply used for logging, but also used to pass pid
information around to controllers!
There are a lot of patches in here because AP_Logger.h, acting as a
nexus, was providing transitive header file inclusion in many (some
unlikely!) places.
3 years ago
Andy Piper
fff82bed75
AP_HAL: update prescaler tests
3 years ago
bugobliterator
7d2ded8de1
AP_HAL: add support for CANFD in SITL
3 years ago
Peter Barker
fa2e841387
AP_HAL: honour HAL_SIM_GPS_ENABLED
3 years ago
Peter Barker
a402dce95b
AP_HAL: permit double-maths whe simulating
3 years ago
Peter Barker
650ef59be8
AP_HAL: create HAL::SIMState object to hold simulation state
3 years ago
bugobliterator
47dd964e63
AP_HAL_ChibiOS: add init method to take in separate canfd bitrate
3 years ago
bugobliterator
1f43c79bfd
AP_HAL: add support for taking in canfd bitrate in caniface
3 years ago
Siddharth Purohit
5bc65bb54e
AP_HAL: set CANFrame max data length based on CANFD availability
3 years ago
Siddharth Purohit
e9f426f8fd
AP_HAL: update CANFrame to include CANFD details
3 years ago
Siddharth Purohit
153834465b
AP_HAL: add HAL_CANFD_SUPPORTED define
3 years ago
Andy Piper
bb3bedb90d
AP_HAL: always choose high for dshot prescaler calculation
3 years ago
Andy Piper
5a7f5844d4
AP_HAL: nuke clang warnings
3 years ago
Andrew Tridgell
56d74a352c
AP_HAL: fixed vprintf for no hal.h
3 years ago
Andrew Tridgell
b248fdfcbb
AP_HAL: avoid including hal.h in generic code
3 years ago
Andrew Tridgell
4811544003
AP_HAL: fixed a race conditon for CAN frame callback
...
callback can change from another thread
3 years ago
Andrew Tridgell
d9f79f42c8
AP_HAL: moved CAN_FRAME timeout handling to AP_CANManager
3 years ago
Andrew Tridgell
88e7efcf9c
AP_HAL: make CANFrame data available as uint32_t
...
this makes the critical sections in CANFrame handling on STM32 faster
3 years ago
Andy Piper
ea1af70f2b
AP_HAL: add support for @SYS/timers.txt
...
move prescaler calculation here and add unit test
add ability to find closest matching frequency in prescaler calculation
account for bit widths in prescaler tests
3 years ago
Andrew Tridgell
eb549f3e00
AP_HAL: review comments
3 years ago
Andrew Tridgell
dbe17d072f
AP_HAL: support mavcan message forwarding
3 years ago
Andy Piper
a7ac4809b1
AP_HAL: disabled ADC3 on H750
...
define __FASTRAMFUNC__
3 years ago
murata
7eb231281b
AP_HAL: Remove meaningless semicolons
3 years ago
Peter Barker
f5526d095b
AP_HAL: remove HAL_COMPASS_DEFAULT define
...
this doesn't actually allow you to specify a default, despite the name
and a couple of hwdefs trying to use it that way.
This would have stopped being useful when we did the
compass-prority-table stuff - or before.
3 years ago
Peter Barker
3a1340236a
AP_HAL: add HAL_UART_STATS_ENABLED to disable stats gathering
3 years ago
Andrew Tridgell
3b70b3e7a7
AP_HAL: check for existing HAL_STORAGE_SIZE
3 years ago
Willian Galvani
dc856f10eb
AP_HAL_Linux: set internal/external i2c bus masks for Navigator
...
This fixes an issue where the internal Compass was being re-detected
as an external one, then as an internal but with wrong orientation
3 years ago
Willian Galvani
725765c1cb
AP_HAL: fix navigator ak09915 orientation
3 years ago
Willian Galvani
d3e3922776
AP_HAL: Add HAL_PROBE_EXTERNAL_I2C_COMPASSES to Navigator
3 years ago
Andy Piper
d4024d9216
AP_HAL: allow configuration of maximum number of notches based on MCU type
...
increase notch filters in SITL
remove redundant harmonics from DSP
3 years ago
Stephen Dade
68ca18329c
AP_HAL: Add UART option to not override streamrates
3 years ago
Peter Barker
f50d48f005
AP_HAL: tidy set/get of hw RTC
3 years ago
bugobliterator
0c69ebc50e
AP_HAL: update last_crash_dump api
3 years ago
Andrew Tridgell
8c2074907b
AP_HAL: support up to 9 UARTs
3 years ago
Patrick José Pereira
176c70b5ff
AP_HAL: Update Navigator board to R4
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
3 years ago
bugobliterator
6d4ac999d0
AP_HAL: add get_storage_ptr method
3 years ago
Andrew Tridgell
51da1c3eff
AP_HAL: added disable_rxtx() to UARTs
3 years ago
Andrew Tridgell
34ba3e4782
AP_HAL: make set_soft_armed() virtual
3 years ago
Buzz
ecfdd80bc7
AP_HAL: new HAL layer for esp32
...
see libraries/AP_HAL_ESP32/README.md for more.
Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
3 years ago
bugobliterator
f9f47cbeeb
AP_HAL: add method to fetch last crash dump
3 years ago