Commit Graph

48563 Commits

Author SHA1 Message Date
Randy Mackay
9aad7763e0 Copter: version to 4.1.3-rc1 2022-01-03 12:49:38 +11:00
Randy Mackay
018096342c Copter: 4.1.3-rc2 release notes 2022-01-03 12:49:38 +11:00
Andrew Tridgell
582be5c21e Plane: prepare for 4.1.6beta1 2021-12-21 13:20:36 +11:00
Andrew Tridgell
c0892777e7 Plane: update release notes for 4.1.6beta1 2021-12-21 13:19:55 +11:00
Andrew Tridgell
cda8a61903 AP_BoardConfig: disable STLink debug pins by default
this avoids leaving the debug pins in a state where they may be
vulnerable to ESD issues
2021-12-21 11:32:36 +11:00
Randy Mackay
fa2546d698 Copter: version to 4.1.3-rc1 2021-12-21 11:32:36 +11:00
Randy Mackay
f8ea1baf4d Copter: 4.1.3-rc1 release notes 2021-12-21 11:32:36 +11:00
Bill Geyer
22f1044d4d AP_Motors: add spool down complete flag 2021-12-21 11:32:36 +11:00
Peter Barker
87a44aadc0 autotest: comment out probably-defunct test 2021-12-21 11:32:36 +11:00
Randy Mackay
1b21d45f3c Copter: version to 4.1.2 2021-12-21 11:32:36 +11:00
Randy Mackay
8fbd7a97e2 Copter: 4.1.2 release notes 2021-12-21 11:32:36 +11:00
Mingchen Zhang
3e6074738a AP_SmartAudio: fix a bug that would starve the lower priority thread, such as scripting. 2021-12-21 11:29:29 +11:00
Andrew Tridgell
661876e969 AC_AutoTune: limit autotune target rates to parameter limits
this makes it safer to autotune a large vehicle which may become
unstable at very high target rates
2021-12-20 16:00:46 +11:00
Andrew Tridgell
3b0a9e47a7 AC_AttitudeControl: added get_ang_vel_yaw_max_rads() 2021-12-20 16:00:19 +11:00
Andrew Tridgell
689e2ad003 AP_RCTelemetry: use have_serial when detecting
avoid find_serial() as it changes port options
2021-12-20 15:54:44 +11:00
Andrew Tridgell
b1a2063142 AP_RangeFinder: use have_serial when detecting
avoid find_serial() as it changes port options
2021-12-20 15:54:42 +11:00
Andrew Tridgell
5ec59d8a3e AP_Proximity: use have_serial when detecting
avoid find_serial() as it changes port options
2021-12-20 15:54:39 +11:00
Andrew Tridgell
46fcc0fdf3 AP_ADSB: use have_serial when detecting
avoid find_serial() as it changes port options
2021-12-20 15:54:37 +11:00
Andrew Tridgell
4ebece3dfd AP_RCProtocol: fixed multi-protocol search with added uart 2021-12-20 15:54:34 +11:00
Andrew Tridgell
c682b7deab AP_SerialManager: added have_serial() method
this checks if we have the protocol without setting the options on the
uart
2021-12-20 15:54:31 +11:00
Andrew Tridgell
664b55a49a AP_NavEKF3: Add missing covariance row reset 2021-12-20 09:30:14 +11:00
Andrew Tridgell
6ef5a9a909 AP_InertialSensor: added support for IIM-42652 and ICM-40605 sensors
handle new Invensense v3 sensor types
2021-12-17 13:59:42 +11:00
Andrew Tridgell
35f8c361b7 AP_InertialSensor: added support for ICM-20608-D sensor 2021-12-17 08:00:38 +11:00
Andrew Tridgell
9223aa9053 Plane: prepare for 4.1.5 release 2021-12-13 10:49:33 +11:00
Andrew Tridgell
f50f580d5c Plane: updated release notes for 4.1.5 2021-12-13 10:49:32 +11:00
Andrew Tridgell
6fc1049439 AP_UAVCAN: use soft armed state for DroneCAN ARMING_STATUS
this fixes motortest on quadplanes, so that ESCs see an armed state
during the test
2021-12-13 10:49:32 +11:00
Andrew Tridgell
133e9e43e4 Plane: prepare for 4.1.5beta1 2021-12-13 10:49:32 +11:00
Andrew Tridgell
8dc7deef14 Plane: release notes for 4.1.5beta1 2021-12-13 10:49:32 +11:00
Randy Mackay
cc509794be Copter: version to 4.1.2-rc1 2021-12-13 10:49:32 +11:00
Randy Mackay
5488b20d3d Copter: 4.1.2-rc1 release notes 2021-12-13 10:49:32 +11:00
Andy Piper
93ed8212ae AP_Vehicle: correct update_dynamic_notch_at_specified_rate() 2021-12-13 10:49:32 +11:00
Andy Piper
65017887d1 AP_Vehicle: make sure notch update rate is configurable 2021-12-13 10:49:32 +11:00
Andy Piper
9dd4314341 Filter: set output slew rate to zero when max is zero. 2021-12-13 10:49:32 +11:00
Andy Piper
4b1124c5e2 autotest: set SMAX during autotune test 2021-12-13 10:49:32 +11:00
Andy Piper
20a509d771 AC_AutoTune: set slew rate to 0 while twitching 2021-12-13 10:49:32 +11:00
Andy Piper
8be3c4ab83 AC_PID: add slew_rate modifier 2021-12-13 10:49:32 +11:00
Hwurzburg
ef59ab143e AP_Motors: change H_COLL_HOVER to H_COL_HOVER for consistency 2021-12-13 10:49:32 +11:00
Randy Mackay
b59c8c45a0 Copter: surface tracking timeout fix
also restructure update_surface_offset and add comments

Co-authored-by: Leonard Hall <leonardthall@gmail.com>
2021-12-13 10:49:32 +11:00
torsten
4c050f4f7e AP_FETtecOneWire: reset buf_used
if byte is missing due to electrical noise it can now resync
2021-12-13 10:49:32 +11:00
Peter Barker
1030f06e9c autotest: FETtec tests: give vehicle a chance to realise ESCs are dead
Should remove the race condition where we disable an ESC but the vehicle
doesn't realise and lets the vehicle arm.

Also, waiting this long causes the ESCs to just go missing, not give a
telemetry failure
2021-12-13 10:49:32 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
800414a1d0 AP_FETtecOneWire: Do not write to the UART buffer if the previous transfer did not complete yet
Required for stable operation on F4 processors
2021-12-13 10:49:32 +11:00
Andy Piper
5591ea2530 AP_HAL_ChibiOS: return correct value for tx_pending(). 2021-12-13 10:49:32 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
765bf35703 AP_HAL_ChibiOS: disable FETtec OneWire device driver 2021-12-13 10:49:32 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
0fe4a2573d AP_Arming: call fettec prearm checks 2021-12-13 10:49:32 +11:00
Peter Barker
9cd57afc72 autotest: add test for FETtec OneWire ESCs
make sure the SERVO_FWT_MASK is valid:
  - it can have bit gaps between active channels, but channels higher than 12 are not allowed (AP_EST_TELEM limitation)
  - Explain that the FETtec ESC IDs inside the FETtec Firmware need to be contiguous and start at 1.
add tests for ESC power outages
add test that safety switch zeroes PWM for FETtec ESC
a gap in the beginning of the SERVO_FTW_MASK is now allowed, test it
2021-12-13 10:49:32 +11:00
Peter Barker
ee4069921b SITL: add simulated FETtec ESC 2021-12-13 10:49:32 +11:00
Peter Barker
22809d1578 AP_HAL_SITL: add simulated FETtec ESC
do not overwrite FETTecESC telemetry data w/SITL ESC data
2021-12-13 10:49:32 +11:00
Peter Barker
bcea6fc806 AP_Math: move crc8_dvb_update into crc library 2021-12-13 10:49:32 +11:00
Pierre Kancir
ec4c4d0058 SRV_Channel: add FETtec support 2021-12-13 10:49:32 +11:00
Pierre Kancir
3cb825d370 Tools: link AP_FETtecOneWire 2021-12-13 10:49:32 +11:00