Commit Graph

47059 Commits

Author SHA1 Message Date
Andrew Tridgell 20ef242280 APM_Control: fixed restore of tconst on autotune abort 2021-04-15 06:57:16 +10:00
Andrew Tridgell 8f249d5ece AP_OSD: fixed param edit for new plane PIDs 2021-04-15 06:57:16 +10:00
Andrew Tridgell 160b25c557 AP_Param: fixed KEY_DUMP option
use right index, and use ::printf
2021-04-15 06:57:16 +10:00
Andrew Tridgell 5818d6040c SITL: convert param file for new plane PID system 2021-04-15 06:57:16 +10:00
Andrew Tridgell 0be24c4946 Tools: convert old param files to new plane PID params 2021-04-15 06:57:16 +10:00
Andrew Tridgell 239e794909 Tools: added script to convert old plane PIDs 2021-04-15 06:57:16 +10:00
Andrew Tridgell 53ee13a083 APM_Control: use instance logging and allow AUTOTUNE_LEVEL adjustments 2021-04-15 06:57:16 +10:00
Andrew Tridgell 70c194c358 APM_Control: fixed LoggerDocumentation test 2021-04-15 06:57:16 +10:00
Andrew Tridgell 0b76a8018f APM_Control: move rmax and tau more slowly 2021-04-15 06:57:16 +10:00
Andrew Tridgell 3cb32a18f0 APM_Control: fixed for cygwin build 2021-04-15 06:57:16 +10:00
Andrew Tridgell 364fa0680d APM_Control: use shorter tau for autotune higher levels 2021-04-15 06:57:16 +10:00
Andrew Tridgell f88622def8 APM_Control: implement new autotune system
use actuator/rate ratio with median filter for FF and Dmod/overshoot
for P,I,D
2021-04-15 06:57:16 +10:00
Andrew Tridgell 12fad55891 APM_Control: fixed pid_info for pitch controller 2021-04-15 06:57:16 +10:00
Andrew Tridgell ead011c7c2 APM_Control: move to only ACPID 2021-04-15 06:57:16 +10:00
Andrew Tridgell 6ca9033dde APM_Control: run AC_PID in parallel with old PID for roll/pitch 2021-04-15 06:57:16 +10:00
Andrew Tridgell d2d06af751 Plane: removed ATRP log msg 2021-04-15 06:57:16 +10:00
Andrew Tridgell 99fe194980 AP_Logger: removed old ATRP log msg 2021-04-15 06:57:16 +10:00
Andrew Tridgell 0d9d952aea autotest: added SpringValley2 2021-04-15 06:57:16 +10:00
Andrew Tridgell a35d8e584d Plane: change param prefixes for roll/pitch controllers 2021-04-15 06:57:16 +10:00
Andrew Tridgell 7b98ab0f12 AP_Param: added get_param_by_index
useful for parameter conversion within an object
2021-04-15 06:57:16 +10:00
Andrew Tridgell 5ef31a1801 Filter: moved ModeFilter to C++
save flash space for common code
2021-04-15 06:57:16 +10:00
Andrew Tridgell 6f2e592943 AC_PID: allow for slew limit scaler
used by plane to have slew limiter in deg/s
2021-04-15 06:57:16 +10:00
Andrew Tridgell 62afa46924 AC_PID: added accessor for IMAX 2021-04-15 06:57:16 +10:00
Andrew Tridgell e5308db8c2 Plane: added FLIGHT_OPTIONS bit to enable yaw control in ACRO mode
this allows for yaw damper in ACRO, which is important on some
vehicles with no vertical stabilize

See
https://discuss.ardupilot.org/t/rudderless-split-rudder-flying-wing/69273/4
2021-04-15 06:22:29 +10:00
Samuel Tabor 4cc92c6b3e Plane: Constrain target_airspeed_cm by min as well as max airspeed. 2021-04-14 06:43:09 -07:00
Samuel Tabor baf31fd825 Plane: Ensure trim airspeed is applied if in auto with no DO_SPEED command received. 2021-04-14 06:43:09 -07:00
Randy Mackay 7cf4195f86 Copter: 4.1.0-beta1 release notes 2021-04-14 20:16:31 +09:00
Peter Barker 6a3188a8ec AC_PrecLand: use enum-class for Type, make enum private 2021-04-14 18:04:26 +10:00
Peter Barker 252543978e AC_PrecLand: remove unused PrecLandBehaviour enum and accessor
AFAICS this has never been used
2021-04-14 18:04:26 +10:00
Peter Barker 1ad9542df3 AC_PrecLand: use enum-class for EstimatorType
And remove accessor for same
2021-04-14 18:04:26 +10:00
Peter Barker d9144ab47c Rover: tidy setting of sensor status flags 2021-04-14 18:03:27 +10:00
Peter Barker ed4dcea57a Blimp: tidy setting of sensor status flags 2021-04-14 18:03:27 +10:00
Peter Barker cb7ac6fb54 ArduSub: tidy setting of sensor status flags 2021-04-14 18:03:27 +10:00
Peter Barker 6a32afcd72 ArduPlane: tidy setting of sensor status flags 2021-04-14 18:03:27 +10:00
Peter Barker 6727a6588f ArduCopter: tidy setting of sensor status flags 2021-04-14 18:03:27 +10:00
Philippe Hamelin 187549b431 SITL: Add NMEA THS message. 2021-04-14 17:20:28 +10:00
Philippe Hamelin 738d000f86 AP_GPS: Add NMEA THS message. 2021-04-14 17:20:28 +10:00
Peter Barker ff072c5215 Copter: stop sending POSITION_TARGET_LOCAL_NED in guided-angle mode
The values we were sending through were not relevant
2021-04-14 16:12:57 +09:00
Peter Barker 5df8dd8c50 Copter: move guided submode enumeration into ModeGuided 2021-04-14 16:12:57 +09:00
Andrew Tridgell 3e138aa98a AP_Filesystem: fixed a read past EOF bug in @PARAM
this could cause mavproxy FTP param download to fail
2021-04-14 17:05:49 +10:00
Tatsuya Yamaguchi 5fd46c02ad AP_ExternalAHRS: remove message when EAHRS_TYPE is None 2021-04-14 14:46:03 +10:00
Andrew Tridgell 9990404e64 HAL_ChibiOS: fixed G4 analog input build
use right resolution in ADC peripheral for ADCv3
2021-04-14 13:11:58 +10:00
Andrew Tridgell ae986967c9 Tools: add G4-ESC to build
this ensures G4 keeps building
2021-04-14 13:11:58 +10:00
Peter Barker fa9ac072ec Copter: remove unused AP_IRLock include
This header is included as required by the AC_PrecLand library - it is
now responsible for actually instantiating the AP_IRLock instance if
required, so Copter doesn't need to know anything about AP_IRLock.
2021-04-14 12:01:12 +10:00
Andrew Tridgell 1fe1e53260 AC_PrecLand: pass in time corrected LANDING_TARGET msg
should make companion based precision landing more accurate
2021-04-13 17:30:19 +10:00
Andrew Tridgell 5a869174e5 Copter: use handle_landing_target() for precland
allows for jitter correction
2021-04-13 17:30:19 +10:00
Andrew Tridgell 8444a3310d GCS_MAVLink: added handle_command_landing_target()
used to allow vehicle handling of time corrected LANDING_TARGET msgs
2021-04-13 17:30:19 +10:00
Hwurzburg cc4fe29d8f AP_OSD: add icon for terrain alt panel and font editor 2021-04-13 14:50:07 +10:00
Peter Barker 9513bbe85f AC_Precland: remove unused _timestamp_us 2021-04-13 14:18:05 +10:00
Andrew Tridgell b749756c29 Plane: setup SMAX for Q modes
this enables logging of rates, which helps with tuning
2021-04-13 10:28:47 +10:00