Andrew Tridgell
301c56d30a
AP_Vehicle: implement common harmonic notch update code
3 years ago
Andrew Tridgell
a2fc4d909d
AP_Vehicle: support two full harmonic notch filters
3 years ago
Peter Barker
c829b109bf
AP_Vehicle: 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
Peter Barker
fe863b9567
AP_Vehicle: correct compilation with HAL_INS_ACCELCAL_ENABLED false
3 years ago
Iampete1
f15c84bdac
AP_Vehicle: add custom rotations lib
3 years ago
Joshua Henderson
ee273da50d
AP_Vehicle: move Airspeed to AP_Vehicle
3 years ago
Peter Barker
db6bb8d616
AP_Vehicle: move INS notch filter logging into INS
3 years ago
Peter Barker
295276cd37
AP_Vehicle: pass GyroFFT loop rate in Hz rather than period in us
...
It just calculates this anyway
3 years ago
Andy Piper
9ba1cbc9d8
AP_Vehicle: log up to 12 harmonic notch frequencies
3 years ago
Andy Piper
77acf9bcc2
AP_Vehicle: correct update_dynamic_notch_at_specified_rate()
3 years ago
Andy Piper
ac263e5659
AP_Vehicle: make sure notch update rate is configurable
3 years ago
Peter Barker
c559e27c55
AP_Vehicle: allow specification of Scheduler table priorities
3 years ago
Peter Barker
ce352410e1
AP_Vehicle: move EFI to AP_Vehicle
3 years ago
Peter Barker
d86e2792fd
AP_Vehicle: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
3 years ago
Tom Pittenger
de753f386c
AP_Vehicle: fix periph-heavy compile errors when INS is disabled
3 years ago
Andrew Tridgell
fd86cb0591
AP_Vehicle: moved accel cal update handling from vehicles
3 years ago
Peter Barker
7a06c941df
AP_Vehicle: make bad-mode-number notification consistent across vehicles
4 years ago
nkruzan
0a236bc13d
AP_Vehicle: log internal error and report bitmask to GCS
...
AP_Vehicle.cpp: cast parameter bitmask as (unsigned) per Peter B.
rework per Peter B.
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
remove unnecessary send_internal_error_statustext function
remove Write_InternalError function
4 years ago
Andy Piper
b6ec06ac0f
AP_Vehicle: output rcout banner when initialization is done
...
move down ready message
4 years ago
Hwurzburg
b69308858a
AP_Vehicle: correct OSD horizon for VTOL modes and TRIM_PITCH_CD in FW modes
4 years ago
Siddharth Purohit
a5a29fe3ec
AP_Vehicle: solve for undefined vehicle object in herepro build
4 years ago
Andy Piper
9bc9873e38
AP_Vehicle: optionally run the harmonic notch update at the loop rate
4 years ago
Andy Piper
5d154b138a
AP_Vehicle: generalise ESC telemetry to allow harmonic notch handling with other ESCs
...
log ESC telemetry data in frontend
4 years ago
Andrew Tridgell
6f5626d04f
AP_Vehicle: fixed SD card slowdown with early mounts
4 years ago
Andrew Tridgell
ec11bf1146
AP_Vehicle: fixed segfault in replay
4 years ago
Andy Piper
9ac8e2b705
AP_Vehicle: addlow SRV_Channels to be initialized
4 years ago
Peter Barker
749d4c997b
AP_Vehicle: ensure reboot command ACK is written out in SITL
4 years ago
Andy Piper
fcd35ba0f8
AP_Vehicle: move AP_Vehicle to AP_Vehicle
4 years ago
Andy Piper
b79ff9475d
AP_Vehicle: add support for the SmartAudio protocol
...
Co-authored-by: luis.martinez.exts <luis.martinez@juntadeandalucia.es>
4 years ago
Patrick José Pereira
b8360a08c7
AP_Vehicle: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Andrew Tridgell
66297bd061
AP_Vehicle: added ExternalAHRS param tree and object
...
using EAHRS param prefix
4 years ago
yaapu
edf2291fb0
AP_Vehicle: added getters for waypoint info, refactored osd publish_nav_info()
4 years ago
Andrew Tridgell
a1c05e74b5
AP_Vehicle: call init_safety after first loop has run
...
this fixes a bug where servos can be driven to an out of range value
if PWM output happens before first loop has completed
thanks to Kris for reporting
4 years ago
Gone4Dirt
d25f9d5d3a
AP_Vehicle: Move AP_Generator to all vehicles
4 years ago
Andrew Tridgell
ae56f554b9
AP_Vehicle: send watchdog reset msg at startup
...
this helps if the watchdog will happen within 10s of startup
4 years ago
Mark Whitehorn
5f8b4968ec
AP_Vehicle: add instructions for config_error loop
4 years ago
yaapu
0012b83d86
AP_vehicle: added support for frsky bidirectional telemetry
4 years ago
Peter Barker
3aabb45059
AP_Vehicle: move orderly rebooting code from GCS into AP_Vehicle
...
Several places we reboot the vehicle we should probably do several of
the things done in this code - flushing parameters, forcing safety on
etc.
4 years ago
Tatsuya Yamaguchi
fb27dbbd4f
AP_Vehicle: replace message indicating that initialisation has completed
4 years ago
Peter Barker
0d396f4235
AP_Vehicle: don't do any GCS stuff in delay callback if we're Replay
...
We haven't initialised the GCS at all, so it's not a great idea to
update_receive() and the like.
5 years ago
Peter Barker
29d042dbc7
AP_Vehicle: Replay now creates vehicle singleton reference
5 years ago
Andrew Tridgell
7ae64d20aa
AP_Vehicle: init MSP earlier
...
this allows for MSP sensors (baro, compass) to be ready during probe
5 years ago
yaapu
7f789fb443
AP_Vehicle: added support for the MSP protocol
5 years ago
Peter Barker
34be953085
AP_Vehicle: add is_crashed method to AP_Vehicle
5 years ago
Andy Piper
820d6654af
AP_Vehicle: add VideoTX
5 years ago
Andy Piper
cb524b7d3d
AP_Vehicle: add function to log dynamic notch frequencies
...
move harmonic notch update here
5 years ago
Andy Piper
d873ec4533
AP_Vehicle: separate gyrofft gyro sampling from fft initiation
...
move FFT gyro sampling into fast loop for all vehicles
rename FFT update method
5 years ago
Andrew Tridgell
77b8f88289
AP_Vehicle: report thread name in watchdog mavlink msg
5 years ago
Randy Mackay
d1aa3858f0
AP_Vehicle: add visual odometry
5 years ago
Peter Barker
ec460b4244
AP_Vehicle: send statustext at regular intervals after watchdog reset
5 years ago