Andrew Tridgell
64a8765de3
Plane: update release notes for 4.0.2beta3
2019-12-23 20:24:10 +11:00
Pierre Kancir
ecdd07e793
AP_Compass: add register to checked ones and remove single-use goto
...
Also fix comment on TMRC register setting
2019-12-23 20:20:12 +11:00
Pierre Kancir
d9edd3c8b5
AP_Compass: probe for RM3100
2019-12-23 20:20:01 +11:00
Andrew Tridgell
318c0a958d
HAL_ChibiOS: removed PB1 and PB0 TIM1 complementary channels for F76x
...
these do not work, possibly a datasheet bug
2019-12-23 19:42:04 +11:00
Andrew Tridgell
24e48b5e81
HAL_ChibiOS: switch MatekF765 to timer 12
...
fixes PWM 5 and 6
2019-12-23 19:42:02 +11:00
Andrew Tridgell
437083b6e6
ChibiOS: allow system timers on TIM12, 13, 14
2019-12-23 19:41:01 +11:00
Andrew Tridgell
635d836957
waf: fixed aligned size of bootloader in ROMFS
2019-12-23 17:36:31 +11:00
Andrew Tridgell
af04f1eb93
HAL_ChibiOS: ensure bootloader flash is multiple of 32 bytes
2019-12-23 17:36:28 +11:00
Andrew Tridgell
9c2caf5b12
AP_InertialSensor: default fast sampling on
...
if we have a first IMU capable of fast sampling then we want it
enabled by default
2019-12-23 09:56:26 +11:00
Andrew Tridgell
f733e963df
HAL_ChibiOS: scale uart rx buffer size with baudrate
...
this ensures we have enough buffer space for a RTK GPS, as well as for
high speed comms with a companion computer
2019-12-23 09:56:26 +11:00
Andrew Tridgell
6388372f04
Sub: fixed range check for RC channel
2019-12-23 09:56:26 +11:00
Andrew Tridgell
bf39e1dfdd
Plane: fixed range check for RC channel
2019-12-23 09:56:26 +11:00
Andrew Tridgell
0775738137
Copter: fixed range check for RC channel
2019-12-23 09:56:26 +11:00
Andrew Tridgell
47daebbb42
Rover: fixed range check for RC channel
2019-12-23 09:56:26 +11:00
Andrew Tridgell
c9c72eb9ca
Tracker: fixed range check for RC channel
2019-12-23 09:56:26 +11:00
Peter Barker
48a04d21ce
AP_NMEA_Output: NavEKF constructors no longer take rangefinder
2019-12-23 09:56:26 +11:00
Randy Mackay
e206134fa6
AP_NMEA_Output: 10hz rate limiting uses uint32_t
2019-12-23 09:56:26 +11:00
Peter Barker
46c384b412
AP_NMEA_Output: correct 10Hz rate limiting
...
integer promotion issue
2019-12-23 09:56:26 +11:00
Peter Barker
9fd53b0dbc
AP_NMEA_Output: add example
2019-12-23 09:56:26 +11:00
Peter Barker
e90b6bafca
AP_NMEA_Output: skip sending sentences if no space on UART
...
AP_NMEA_Output: clean scope by removing unneeded temps
AP_NMEA_Output: redo last_sent to last_run
AP_NMA_Output: early-exit if no data
2019-12-23 09:56:26 +11:00
Andrew Tridgell
12e51965c9
HAL_ChibiOS: change CUAVv5Nano volt scale to 18.000
2019-12-23 09:56:26 +11:00
Andrew Tridgell
46b364934b
Plane: prepare for 4.0.2beta2
2019-12-16 19:01:55 +11:00
Andrew Tridgell
6205a2158e
Plane: update release notes for 4.0.2beta2
2019-12-16 19:00:55 +11:00
Andrew Tridgell
d604b3f79b
Tools: update to latest bootloaders
2019-12-16 18:52:55 +11:00
Andrew Tridgell
12aaccffc8
ChibiOS: handle SB without BUSY in I2Cv1 driver
2019-12-16 18:51:57 +11:00
Andrew Tridgell
96bccba638
HAL_ChibiOS: fixed build of SPI clock test
2019-12-12 20:43:40 +11:00
Andrew Tridgell
87f2839f3e
GCS_MAVLink: fixed critical error on prefight cal ops
2019-12-12 20:43:35 +11:00
Andrew Tridgell
042f6c65e7
Plane: prepare for 4.0.2beta1 release
2019-12-09 14:14:43 +11:00
Andrew Tridgell
7b759c7bd8
Plane: updated release notes for 4.0.2beta1
2019-12-09 14:14:08 +11:00
Andrew Tridgell
595a49eec4
GCS_MAVLink: send temperature for IMUs
2019-12-09 13:25:18 +11:00
Andrew Tridgell
04827d229c
AP_NavEKF2: don't use WMM tables unless we have a compass scale factor set
2019-12-09 13:18:01 +11:00
Andrew Tridgell
c36687a79f
SITL: added SIM_MAG_SCALING for testing scale factor errors
...
# Conflicts:
# libraries/SITL/SITL.cpp
2019-12-09 13:18:01 +11:00
Andrew Tridgell
bc7f811ff0
AP_GPS: cope with UAVCAN GPS that don't provide Aux message
...
thanks to @VadimZ for the suggestion
2019-12-09 13:18:01 +11:00
Randy Mackay
0cd737856d
AP_RangeFinder: remove param conversion for 3rd and 4th
...
3rd and 4th instances were not available to users unless they used their own builds which is rare
this reduces the firmware's flash size a small amount
2019-12-09 13:18:01 +11:00
Randy Mackay
4cb470e4df
AP_RangeFinder: param conversion fix
...
This resolves an issue with the parameter conversion when moving from Copter-3.6.x to 4.0 (and similar moves for other vehicle types)
2019-12-09 13:18:01 +11:00
Peter Barker
8fac70149d
AP_Compass: tidy constructor
2019-12-09 13:18:01 +11:00
Peter Barker
03064f8eea
AP_Compass: make compass_cal_status_t enum class Status within CompassCalibrator
2019-12-09 13:18:01 +11:00
Andrew Tridgell
342dd67dc0
AP_Compass: narrow range of allowed scale factor
2019-12-09 13:18:01 +11:00
Andrew Tridgell
536222859d
AP_Compass: added COMPASS_OPTIONS
...
this allows user to set that calibration requires GPS lock
2019-12-09 13:18:01 +11:00
Andrew Tridgell
920007f3c4
AP_Compass: added estimation of compass scale factor
...
this adds new COMPASS_SCALE, COMPASS_SCALE2 and COMPASS_SCALE3
parameters, which give the sensor scaling factor. It is used to
compensate for an incorrect scaling in a compass.
The 3D compass calibration process will set the correct value
automatically, otherwise users can set the value to a known value for
an existing compass
2019-12-09 13:18:01 +11:00
Randy Mackay
ae234635e8
AP_Compass: minor comment fix
...
Co-Authored-By: Peter Barker <pb-gh@barker.dropbear.id.au>
2019-12-09 13:18:01 +11:00
lukezhqin
f59d22aa41
AP_Compass: fix thin_samples to avoid comparing sample to itself
2019-12-09 13:18:01 +11:00
Randy Mackay
b87f42bc07
AP_Compass: fix calibrator update when step one fails
2019-12-09 13:18:01 +11:00
Randy Mackay
d9fde84ccb
AP_Compass: rename CompassCalibrator::clear to stop
2019-12-09 13:18:01 +11:00
Randy Mackay
6c8ee8fa67
AP_Compass: remove unused calc_mean_squared_residuals
2019-12-09 13:18:01 +11:00
Randy Mackay
a5e0af6868
AP_Compass: add comments to calibrator
2019-12-09 13:18:01 +11:00
Randy Mackay
243cf3b22d
AP_Compass: formatting fixes
...
this should be a non-functional change
2019-12-09 13:18:01 +11:00
Randy Mackay
69a7a52e5f
AP_Compass: constify get_completion_mask and remove use of auto
2019-12-09 13:18:01 +11:00
Randy Mackay
cf34abba87
AP_Compass: constify get_orientation
2019-12-09 13:18:01 +11:00
Andrew Tridgell
47fe57bd8d
AP_Compass: remove expected error
...
this happens with AK09916 probing on invensense sensor
2019-12-09 13:18:01 +11:00