Commit Graph

51148 Commits

Author SHA1 Message Date
Oliver 80c7c9f16a AP_PiccoloCAN: Bug fix for ESC temperature data
- Fixes issues with temperature data in telemetry and logs
- Use the maximum of available temperature values for the ESC (where available)
2021-12-19 10:50:37 +11:00
Peter Barker a281c3ef91 AP_HAL_ChibiOS: remove stray 'No Crash Detected' diagnostic 2021-12-19 10:48:44 +11:00
Peter Barker bdeec0868e AP_HAL_ChibiOS: turn wind-compensation off in hwdef defaults 2021-12-19 10:45:16 +11:00
Peter Barker 5ff410f2cb AP_Baro: turn wind-compensation off using hwdef defaults 2021-12-19 10:45:16 +11:00
Peter Barker c6734ad825 AP_InertialSensor: correct logging of inertial-sensor reg-change logging 2021-12-18 21:25:27 +11:00
bugobliterator f0073e472b HAL_ChibiOS: set SWD pins pulled up and low by default 2021-12-17 22:51:18 -08:00
Shiv Tyagi c34301d925 AP_BattMonitor: remove MPPT_PacketDigital from Type enum
we have removed AP_BattMonitor_MPPT_PacketDigital, hence this should be removed too
2021-12-17 20:24:25 +09:00
Shiv Tyagi 814e0f9cac AP_Arming: remove Driver_Type_MPPT_PacketDigital from CAN checks
we have removed AP_BattMonitor_MPPT_PacketDigital, hence this should be removed too
2021-12-17 20:24:25 +09:00
Shiv Tyagi b2073e4e1c AP_HAL_ChibiOS: remove stray define HAL_PERIPH_ENABLE_BATTERY_MPPT_PACKETDIGITAL
We have removed the class AP_BattMonitor_MPPT_PacketDigital, hence this should be removed too
2021-12-17 20:24:25 +09:00
Shiv Tyagi d1eedcb4c3 AP_Periph: remove PacketDitial from AP_CANManager parameter description
We have removed the class AP_BattMonitor_MPPT_PacketDigital, we should also remove these
2021-12-17 20:24:25 +09:00
Shiv Tyagi d846a81055 AP_CANManager: remove MPPT_PacketDigital parameter description
We have removed the class AP_BattMonitor_MPPT_PacketDigital, we should also remove these from parameter descriptions and enums
2021-12-17 20:24:25 +09:00
Shiv Tyagi ef5b43ca95 AP_Baro_KellerLD : add SensorMode enum and _p_mode property
This adds SensorMode enum and _p_mode property which is used to set _p_mode_offset

Co-Authored-By: Josh Henderson <69225461+hendjoshsr71@users.noreply.github.com>
Co-Authored-By: ES-Alexander <25898329+ES-Alexander@users.noreply.github.com>
2021-12-17 11:58:19 +11:00
Shiv Tyagi dd00fd720d AP_Baro_KellerLD : set/update _p_mode_offset based on _p_mode
This initialises/updates _p_mode_offset on the basis of _p_mode

Co-Authored-By: Josh Henderson <69225461+hendjoshsr71@users.noreply.github.com>
Co-Authored-By: ES-Alexander <25898329+ES-Alexander@users.noreply.github.com>
2021-12-17 11:58:19 +11:00
Jaaaky 6cae738ab8 StorageManager: fix write_block() comment 2021-12-17 09:53:47 +09:00
Tom Pittenger e48adbf1c0 AP_ADSB: post link to uAvionix UCP protocol 2021-12-17 09:53:02 +09:00
Peter Barker 0cb4425eb9 AP_NavEKF3: fix type, 'willbe' -> 'will be' 2021-12-17 09:44:57 +09:00
Peter Barker 1886b2dccd AP_NavEKF2: fix type, 'willbe' -> 'will be' 2021-12-17 09:44:57 +09:00
Peter Barker 2cdb082139 autotest: add test for estop-on-rc-switch 2021-12-17 09:58:37 +11:00
Peter Barker c9cc97edbd autotest: augment estop test with post-reboot component 2021-12-17 09:58:37 +11:00
Peter Barker 474c42f9d3 autotest: move assert_prearm_failure up 2021-12-17 09:58:37 +11:00
QioTek e5a8695640 AP_InertialSensor: added support for ICM-20608-D sensor 2021-12-17 07:58:48 +11:00
Josh Henderson 317d32574c Tools: pretty_diff_size, show total flash cost 2021-12-16 14:26:04 +11:00
Andrew Tridgell db4c8ebde5 dronecan: update to latest dronecan main 2021-12-16 14:06:34 +11:00
Gone4Dirt 973cf9a043 Rover: Make RPM log independant of RC log mask 2021-12-16 12:48:48 +11:00
Gone4Dirt 33ed08d07e Sub: Make RPM log independant of RC log mask 2021-12-16 12:48:48 +11:00
Gone4Dirt d244a0b803 Plane: Make RPM log independant of RC log mask 2021-12-16 12:48:48 +11:00
Gone4Dirt 320f7477a5 Copter: Make RPM log independant of RC log mask 2021-12-16 12:48:48 +11:00
Leonard Hall b7801947af AC_PID: AC_PID_2D: let I term change direction but not grow when limited 2021-12-16 09:54:49 +09:00
Leonard Hall 90db81354b AC_AttitudeControl: AC_PosControl: Prioritize crosstrack acceleration 2021-12-16 09:54:49 +09:00
Leonard Hall 1e124ca957 AP_Math: Control: Add directional based acceleration limit
AP_Math: Control: Add directional based acceleration limit
2021-12-16 09:54:49 +09:00
Shiv Tyagi b34a7e46a8 AP_BatteryMonitor: remove AP_BattMonitor_MPPT_PacketDigital class
since latest versions of PacketDigital MPPT support UAVCAN, we can remove this older class
2021-12-16 09:39:43 +09:00
Samuel Tabor 75ee4b07fe autotest: Add test for soaring speed-to-fly feature 2021-12-16 07:12:24 +11:00
Samuel Tabor 719aa4bc53 AP_Soaring: Add speed-to-fly calculation used if SOAR_CRSE_ARSPD<0. 2021-12-16 07:12:24 +11:00
Samuel Tabor c44fed34d4 AP_Soaring: Override airspeed and flap angle. 2021-12-16 07:12:24 +11:00
Samuel Tabor 3ab9dda6f5 AP_Soaring: Store reference to glide polar params in variometer 2021-12-16 07:12:24 +11:00
Peter Barker ff77a17fdd autotest: param_parse.py: allow CopyValuesFrom in vehicle directories 2021-12-16 07:11:33 +11:00
Peter Barker bcf9928c78 Blimp: use @CopyValuesFrom for FLTMODEn parameters 2021-12-16 07:11:33 +11:00
Peter Barker 4e42986e19 Rover: use @CopyValuesFrom for MODEn parameters 2021-12-16 07:11:33 +11:00
Peter Barker 08a8b3f155 Plane: use @CopyValuesFrom for FLTMODEn parameters 2021-12-16 07:11:33 +11:00
Peter Barker 08b9897bad Copter: use @CopyValuesFrom for FLTMODEn parameters 2021-12-16 07:11:33 +11:00
Peter Barker 508d7df739 AP_SerialManager: remove duplication of SERIALn_PROTOCOL values
... and SERIALn_BAUD while we're at it
2021-12-16 07:11:33 +11:00
bugobliterator 957da68da5 AP_Compass: fix compilation issue with declaring var after goto 2021-12-15 22:11:10 +11:00
Peter Barker 2205b95c99 AP_Math: create double versions of is_zero, is_positive and is_negative
Seeks to prevent

Thread 1 "ardurover" received signal SIGFPE, Arithmetic exception.
is_positive<double> (fVal1=9.6315720352771873e+44)
    at ../../libraries/AP_Math/AP_Math.h:66
66          return (static_cast<float>(fVal1) >= FLT_EPSILON);
2021-12-15 19:33:55 +11:00
yaapu c6c285b5a2 AP_Frsky_Telem: added frame 0x500D for waypoint data 2021-12-15 18:15:47 +11:00
Andrew Tridgell 32d846520c SRV_Channel: validate function number before array access
this fixes an issue with invalid SERVOn_FUNCTION values for array
index.
2021-12-15 18:10:45 +11:00
Bill Geyer afaff18bd0 AP_Motors: modifications based on suggested changes 2021-12-14 22:50:05 -05:00
Bill Geyer a8d74c6414 AP_Motors: Tradheli- add governor engaged message over GCS 2021-12-14 22:50:05 -05:00
Bill Geyer 2ac157b188 AP_Motors: Tradheli- fix governor spool up bug 2021-12-14 22:50:05 -05:00
MidwestAire 22c2329063 AP_Motors:Heli_RSC - throttle curve _control_output does not need a constrain_float
- change lower limit of governor enaged output to 150% of idle speed
- add governor_reset() function
- remove governor defaults from header
- rearrange governor metadata in alphabetical order, assign new eeprom slot for rpm
2021-12-14 22:50:05 -05:00
MidwestAire 77f0fdf112 AP_Motors:clean up whitespace in heli motors class 2021-12-14 22:50:05 -05:00