Andrew Tridgell
d7ee622edc
AP_Logger: fixed use of old irqsave() API
5 years ago
Lucas De Marchi
5f65033511
AP_RangeFinder: add missing overrides
5 years ago
Lucas De Marchi
ce877ba40a
AP_RangeFinder: fix build
5 years ago
Andrew Tridgell
108d7fa024
AP_Logger: added logging of extra loop time from the scheduler
5 years ago
Andrew Tridgell
79acaeaef1
AP_Scheduler: cope with high CPU load by stretching loop times
...
this adds an extra budget of time per loop when we are not achieving
scheduled tasks at a rate of at least 1/8 of the desired rate. This
fixes an issue where a vehicle can become uncontrollable if the user
asks for a SCHED_LOOP_RATE which is not achievable. As these events
happen we add extra loop budget until we are able to run all tasks. We
drop the extra time when the CPU pressure eases.
5 years ago
Andrew Tridgell
3d9f393f4b
SITL: added SIM_LOOP_DELAY parameter
...
this allows us to test high CPU load conditions by adding a delay to
each loop
5 years ago
Michael du Breuil
95bca05322
AP_HAL_ChibiOS: Only include MAVLink when using the MAVLink debugging
5 years ago
Michael du Breuil
5000891a76
GCS_MAVLink: remove some unused includes
5 years ago
Peter Barker
1c187d8feb
AP_NavEKF3: correct return of empty prearm string
5 years ago
Peter Barker
3619856fc9
AP_NavEKF2: correct return of empty prearm string
5 years ago
Randy Mackay
398f427830
AP_Proximity: fix rangefinder backends cm to m conversion
5 years ago
Peter Barker
9cd30083a4
AC_AutoTune: correct abs to fabsf for roll_cd and pitch_cd
5 years ago
Peter Barker
8ee411e998
AP_L1_Control: wrap_180_cd no longer solely returns floats
5 years ago
Peter Barker
7fbaea7971
APM_Control: wrap_180_cd no longer solely returns floats
5 years ago
Peter Barker
5692f3d79e
AP_Math: stop returning float for integer wrap_180/wrap_360 etc
5 years ago
Peter Barker
84d999142f
AP_Math: add more tests for wrap functions
5 years ago
Peter Barker
56de1f2eed
AC_WPNav: do not calculate NEU vector from invalid location
5 years ago
Michael du Breuil
819d1b5246
AP_Common: Include altitude in the init check for a location
5 years ago
Andrew Tridgell
9eb6c1be64
AP_GPS: use jitter correction on GPS_INPUT data
...
this allows for more accurate timing when using GPS_INPUT for indoor
positioning systems
5 years ago
Peter Barker
2f60b230cd
GCS_MAVLink: use singleton to get AP_AdvancedFailsafe pointer
5 years ago
Peter Barker
9f8553d422
AP_AdvancedFailSafe: add singleton getter
5 years ago
Henry Wurzburg
57dc253be8
AP_OSD: Add autoranging to current and speed displays
5 years ago
Andrew Tridgell
3c058851b2
HAL_ChibiOS: fixed undef for define lines
...
this fixes IMU heater enable for CubeBlack+
5 years ago
Andrew Tridgell
255e769171
HAL_ChibiOS: fixed IMU order and board ID for CubeBlack+
5 years ago
bugobliterator
e82da992c9
HAL_ChibiOS: hwdef: add hwdef for CubeBlack+
5 years ago
bugobliterator
ee6f912217
AP_BoardConfig: add support for CubeBlackPlus
5 years ago
Andrew Tridgell
f86a7d347d
Revert "AP_HAL_SITL: set initial PWM values to a flag value"
...
This reverts commit 1735563bb7
.
This commit broke RC input on high channels with sim_vehicle.py, plane
getc RC failsafe immediately
5 years ago
Peter Barker
6193d6cf69
AP_Compass: fix example by instantiating Baro
...
Baro is required to get location, and Compass tries to get the declination based on current location
5 years ago
bnsgeyer
e91402aeb6
AP_Motors: tradheli-make all RSC params part of library
...
AP_Motors: Tradheli-fix RSC mode change while armed
AP_Motors: tradheli - improve RSC param metadata
AP_Motors: tradheli-put all throttle param settings in percent
5 years ago
Peter Barker
1735563bb7
AP_HAL_SITL: set initial PWM values to a flag value
...
These should never be used. Setting them to a flag value may give a
hint to someone trying to debug a problem in the future.
5 years ago
Peter Barker
8da978b913
GCS_MAVLink: use sending_mavlink1 method in send_rc_channels_raw
5 years ago
Peter Barker
5dad0e5410
AP_HAL: a few more simple tests for snprintf
5 years ago
Andrew Tridgell
28cca004f2
HAL_ChibiOS: added default params for skyviper-journey
5 years ago
Andrew Tridgell
1dca0a16f5
HAL_ChibiOS: rename skyviper-f412 to skyviper-journey
5 years ago
Andrew Tridgell
dcbbc86f34
AP_Radio: added support for Skyviper 2018 model radios
...
fixes #12273
5 years ago
mhefny
375510ecc2
SITL: adding wind simulation in Webots
5 years ago
mhefny
bfb7e3af3b
SITL: sending wind data to Webots controller
5 years ago
Andrew Tridgell
8bb6a67b36
GCS_MAVLink: refuse set of read-only parameters
5 years ago
Andrew Tridgell
6573857a90
AP_Param: support @READONLY marker in param files
...
allows for read-only parameters embedded in firmware
5 years ago
Andrew Tridgell
4a6fdc00c9
AP_AdvancedFailsafe: added AFS_MAX_RANGE option
...
this allows a maximum range since first arm to be set in
AFS_MAX_RANGE. This value (in km) will trigger the configured
termination type if the GPS location shows that it has been breached.
This feature, in combination with the @READONLY apj parameter feature,
is intended to be used to meet regulatory restrictions on a vehicles
maximum range
5 years ago
Andrew Tridgell
6af9d55e70
AP_OSD: fixed vsnprintf return assumption
5 years ago
Andrew Tridgell
98c2606c0a
GCS_MAVLink: fixed assumption on return of snprintf
5 years ago
Peter Barker
412bf24b9a
AP_HAL: add gtests for snprintf
5 years ago
Andrew Tridgell
54b9524c0b
AP_RangeFinder: make LightWare I2C native work with more hw versions
...
this allows the native i2c lightware driver to work with a wide range
of lidars from LightWare, removing the specific version check, and the
version specific config commands
5 years ago
Andy Piper
8e385d7453
AP_InertialSensor: correct formatting
5 years ago
Leonard Hall
6f3be90147
Filter: Alter Notch filter formula to remove /0 and allow perfect notch.
...
This formulation of the notch equations lets the user specify the depth of the Notch. The presence of a diveide by A prevents the gain going to zero and therefore achieving a perfect notch. It also provides the risk that a user may attempt to do this and cause a divide by zero error. This change adds the ability to achive a perfect notch and removes the possibility of a divide by zero.
Add Notch Filter parameter checking
5 years ago
Andy Piper
9b9fb0d593
Filter: sanity check the harmonic notch sample rate on initialization. do not allow harmonics to go above the nyquist frequency
5 years ago
Andy Piper
5b7f9f6bea
AP_InertialSensor: while sensors are converging update the filters sample rates. if gyro filtering produces invalid output, keep the previous value
5 years ago
Andy Piper
bc5916ebc9
Filter: comment on reserved config. cope with notch allocation failure.
5 years ago
Andy Piper
a9a7fe3ea5
AP_InertialSensor: ensure harmonic notch gets appropriate defaults
5 years ago