Commit Graph

55315 Commits

Author SHA1 Message Date
Tom Pittenger 9ed192a371 AP_TemperatureSensor: add driver MCP9600 2022-10-18 10:05:31 +11:00
Tom Pittenger c4f7470cbc AP_TemperatureSensor: refactor for upcoming upgrades 2022-10-18 10:05:31 +11:00
Tom Pittenger ea27d40cf6 Sub: use new function from TempSensor refactor 2022-10-18 10:05:31 +11:00
Tom Pittenger 0ca53d5065 AP_TemperatureSensor: TSYS01 adapt to front/back end split
Co-authored-by: Joshua Henderson <hendjoshsr71@gmail.com>
2022-10-18 10:05:31 +11:00
Tom Pittenger be42e53303 Sub: use new AP_TemperatureSensor library
Co-authored-by: Joshua Henderson <hendjoshsr71@gmail.com>
2022-10-18 10:05:31 +11:00
Tom Pittenger b4bb5c71ac Tools: Build_options add AP_TEMPERATURE_SENSOR_ENABLED 2022-10-18 10:05:31 +11:00
Joshua Henderson b7672bf124 autotest: sub dive_manual update TSYS01 desired temperature 2022-10-18 10:05:31 +11:00
Joshua Henderson 3fdf87a6c7 SITL: TSYS01 add sim temperature based on altitude 2022-10-18 10:05:31 +11:00
Tom Pittenger ed5a0557ca ardupilotwaf: common libraries add AP_TemperatureSensor
Co-authored-by: Joshua Henderson <hendjoshsr71@gmail.com>
2022-10-18 10:05:31 +11:00
Tom Pittenger 1254e18fa9 AP_Vehicle: add AP_TemperatureSensor
Co-authored-by: Joshua Henderson <hendjoshsr71@gmail.com>
2022-10-18 10:05:31 +11:00
Joshua Henderson ecbfd25c08 gitignore: add /defaults.parm for sitl vehicle directories 2022-10-18 10:02:19 +11:00
Iampete1 14a786bdfa AC_AttitudeControl: remove duplicate `_attitude_target.normalize()` 2022-10-18 08:30:46 +11:00
Andrew Tridgell d398e567a3 AP_AHRS: added ATSC logging
log scale factors for angle P scaling when not == 1.0
2022-10-18 07:38:39 +11:00
Andrew Tridgell bd1be3b41c AC_AttitudeControl: added single loop override of angle P gains
this is used by quadplanes in back-transiton to prevent oscillation
caused by driving the fixed wing controller too fast
2022-10-18 07:38:39 +11:00
Andrew Tridgell 01d006ebd1 APM_Control: added access to time constant 2022-10-18 07:38:39 +11:00
Andrew Tridgell 8a0708efe8 Plane: scale VTOL angle P gains with airspeed
During POSITION1 back-transiton we scale the MC angle P gains with
airspeed to reduce the chance of oscillations. At higher airspeeds the
fixed wing controller dominates so we should use the fixed wing angle
P gain.
2022-10-18 07:38:39 +11:00
Andrew Tridgell 1c043bde9a Plane: log TECS target alt
log the target alt we pass into TECS to help debug a CRUISE height
issue
2022-10-18 06:49:46 +11:00
Iampete1 da0ee9a8cb AP_Scripting: set lua nullptr after delete 2022-10-17 08:29:53 +11:00
Andrew Tridgell 1c5c1a566f AP_RPM: fixed SITL RPM backend for new motor mask 2022-10-16 20:38:19 +11:00
Andrew Tridgell 1138f9e624 SITL: allow for extra actuators to be marked as motors 2022-10-16 20:38:19 +11:00
Andrew Tridgell dc3f6fe69d AP_ESC_TELEM: allow for non-continguous ESC telem motor sets
this fixes ESC telem for quadplanes with motors at 5-8 or 9-12
2022-10-16 20:38:19 +11:00
Andrew Tridgell 1871c6bef7 HAL_SITL: use motor mask for noise checking for motors 2022-10-16 20:38:19 +11:00
Andrew Tridgell c42acd553e AP_InertialSensor: use motor_mask from SITL for which outputs are motors
generate noise based on motor_mask
2022-10-16 20:38:19 +11:00
Andrew Tridgell ac2701b1bf AP_Vehicle: removed num_dynamic_notches limit in dynamic harmonic
use INS_MAX_NOTCHES instead, allowing for more ESCs to be added by lua
scripts
2022-10-16 20:38:19 +11:00
Andrew Tridgell 02c06167c1 Filter: allow for expansion of dynamic filters
this allows for the number of dynamic filters on a harmonic notch
filter to expand at runtime, which allows for ESC RPMs to be populated
from other than AP_Motors, such as with lua scripts or for fwd motors
in a SLT quadplane
2022-10-16 20:38:19 +11:00
Andrew Tridgell a0af08a3aa SITL switched to motor_mask for which actuators are motors
this allows for any output to be an ESC, which allows for proper
simulation of quadplanes with ESCs on outputs 5-8 or 9-12, for testing
notch filtering
2022-10-16 20:38:19 +11:00
Andrew Tridgell ee003d7eee autotest: fixed ICE tests to use an IC engine
we need to use quadplane-ice or plane-ice to get a simulated IC engine
the test was just using an electric motor
2022-10-16 06:25:59 +11:00
Andrew Tridgell 3abdc6ad25 waf: added --enable-gps-logging 2022-10-15 17:20:42 +11:00
Andrew Tridgell 4b8b2d8236 SITL: support playback of new GPS log format 2022-10-15 17:20:42 +11:00
Andrew Tridgell 6f805cb537 AP_GPS: fixed resolution of KSXT parsing for NMEA
needs to be double precision for lat/lon
2022-10-15 17:20:42 +11:00
Andrew Tridgell 4812b67ad6 AP_GPS: added logging to more serial GPS backends 2022-10-15 17:20:42 +11:00
Andrew Tridgell 5cd1aeaf38 AP_GPS: improve GPS debug logging
use timestamped data allowing for much more precise playback
2022-10-15 17:20:42 +11:00
Randy Mackay afe7790e4b Copter: 4.3.0-beta3 release notes 2022-10-14 17:20:33 +09:00
Randy Mackay ea3e38f734 Rover: 4.3.0-beta3 release notes 2022-10-14 17:20:22 +09:00
Iampete1 bedbc0a65f AP_Button: print button index and postion on aux function trigger 2022-10-14 12:01:07 +11:00
Iampete1 6a4280429a RC_Channel: move aux pos string to function, print RC channel number with aux fun 2022-10-14 12:01:07 +11:00
Peter Barker 917878de76 AP_Notify: correct NTF_BUZZ_PIN documentation
The default is -1 - disabled - but we don't have that in the documentation...
2022-10-13 19:26:49 +11:00
Peter Barker bacbac798c autotest: add tests for embedded defaults parsing 2022-10-13 14:38:30 +11:00
bugobliterator 05f8e3c18d AP_InertialSensor: disable temperature based fifo check on ICM20602 2022-10-13 10:14:59 +11:00
Iampete1 c801f12a78 AP_Scripting: applets: add Hexsoon LEDs script 2022-10-12 19:04:30 +11:00
Henry Wurzburg 65a1b0cb56 AP_HAL_ChibiOS:add back displayport for KakuteF7
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2022-10-12 18:48:31 +11:00
bugobliterator 4d2b7bb7c9 AP_HAL_ChibiOS: add CubePilot CAN Module hwdef 2022-10-12 18:28:52 +11:00
bugobliterator a669b2ef3e AP_HAL_ChibiOS: fix typo in CubeOrangePlus hwdef 2022-10-12 18:28:52 +11:00
Tom Pittenger 46bc30a40c Plane: add guided radius to mavlink DO_REPOSITION 2022-10-11 09:35:28 -07:00
Andrew Tridgell 938df192fa AP_Scripting: added rc:get_aux_cached() example 2022-10-11 11:47:04 +11:00
Andrew Tridgell ac1be8b500 AP_Scripting: added get_aux_cached() RC binding 2022-10-11 11:47:04 +11:00
Andrew Tridgell ff4478a4d9 RC_Channel: added cache of aux functions for scripting
allows for scripting to act on aux functions
2022-10-11 11:47:04 +11:00
Andrew Tridgell 9d42f49ac8 AP_Common: added setonoff() method for bitmask 2022-10-11 11:47:04 +11:00
Andrew Tridgell 19fd2d0b88 AP_Scripting: added relay get() binding 2022-10-11 11:47:04 +11:00
Andrew Tridgell e7aa868669 AP_Relay: added get() method for scripting 2022-10-11 11:47:04 +11:00