Andrew Tridgell
f487923851
AP_HAL: updated to new tonealarm system
2018-08-06 11:33:37 +10:00
Andrew Tridgell
07e1e8e753
AP_Notify: updated to new tonealarm system
2018-08-06 11:33:27 +10:00
Andrew Tridgell
55a129276d
AP_BLHeli: pass motor mask to serial_setup_output()
2018-08-06 11:31:45 +10:00
Andrew Tridgell
fce284a87d
AP_BLHeli: improved reliability of pass-thru support
...
this uses a connection cache to prevent re-connecting to an ESC when
not needed, and allows for pass-thru comms on any port, using
SERVO_BLH_PORT parameter
2018-08-06 11:31:42 +10:00
Andrew Tridgell
fa856f2191
HAL_ChibiOS: fixed dshot bad frames
...
adding a pre-bit on the DMAR, and ensuring that all groups are setup
for DMA together fixes the remaining bad frames reports in BLHeli32
2018-08-06 11:31:40 +10:00
Andrew Tridgell
d832d4d311
HAL_ChibiOS: set min dshot separation to 100usec
...
this fixes a problem with BLHeli32 not recognising dshot
2018-08-06 11:31:39 +10:00
Andrew Tridgell
fdc8dca00f
HAL_ChibiOS: fixed timeout of serial read bytes
...
this allows for fast timeout of serial read bytes in BLHeli pass-thru
2018-08-06 11:31:36 +10:00
Andrew Tridgell
3618e25059
AP_HAL: added chanmask to serial_setup_output()
2018-08-06 11:31:34 +10:00
Andrew Tridgell
d58ad47b1c
AP_Compass: clear DEV_ID for undetected compasses
...
this prevents user confusion with the number of compasses detected
2018-07-30 18:12:42 +10:00
Andrew Tridgell
a5c0e5c4c1
HAL_ChibiOS: probe all external compasses on mini-pix
2018-07-30 18:11:42 +10:00
Andrew Tridgell
fec7a76101
AP_Compass: allow override of QMC5883L orientation
2018-07-30 18:11:38 +10:00
Andrew Tridgell
033061121a
HAL_ChibiOS: added RC input for OMNIBUSF7V2
2018-07-30 10:49:24 +10:00
Timothy Knab
e02950b06b
HAL_ChibiOS: Updated OMNIBUSF7V2
...
Compasses on the I2C bus are now detected properly and GPS on UART3 works.
2018-07-30 10:49:22 +10:00
Andrew Tridgell
40a0decbc2
HAL_ChibiOS: override COMPASS_AUTO_ROT on several boards
2018-07-28 15:36:37 +10:00
Andrew Tridgell
cdae1606ce
AP_Compass: allow override of COMPASS_AUTO_ROT
2018-07-28 15:36:10 +10:00
Andrew Tridgell
7cb169d0b9
AP_IOMCU: fixed setting of rate masks
...
this affects layouts which set a subset of channels on a timer
2018-07-28 15:26:35 +10:00
Andrew Tridgell
e75dfd793b
HAL_ChibiOS: only set freq on valid IO channels
2018-07-28 15:26:33 +10:00
Andrew Tridgell
9667e1766f
HAL_ChibiOS: added Pixhawk1 build target
...
this is more obvious to users than fmuv3
2018-07-27 10:04:09 +10:00
Andrew Tridgell
3c95a74438
AP_RangeFinder: fixed VL53L0X semaphore usage
2018-07-27 10:04:02 +10:00
Alexander Malishev
06434a48c3
HAL_ChibiOS: fix DTCM size in stm32f745 mcu
2018-07-26 17:53:09 +10:00
Andrew Tridgell
c6ac1bf95a
AP_Arming: only check trim on valid channel count
2018-07-24 20:02:01 +10:00
E Thomas
e5659d7d47
Added support for PX4V1 UARTD in HAL_PX4_Class
2018-07-19 12:39:58 +10:00
Andrew Tridgell
154302cb6d
HAL_ChibiOS: rename f4by-ch to F4BY
2018-07-19 12:39:58 +10:00
Alexander Malishev
f2ac91ca24
AP_Bootloader: add f4by bootloader
2018-07-19 12:39:57 +10:00
Michael du Breuil
f842618d0f
RC_Channel: Allow a RC_OVERRIDE_TIMEOUT of -1 to use the overrides
...
forever
2018-07-19 07:54:11 +10:00
Jonathan Challinger
d3c31f17cc
AP_IOMCU: fix radio failsafe handling
2018-07-19 06:53:01 +10:00
Andrew Tridgell
5083f1957d
AP_Compass: make COMPASS_AUTO_ROT=1 for plane stable release
2018-07-18 20:34:52 +10:00
Andrew Tridgell
3a8ef21d89
HAL_F4Light: renamed bootloader
2018-07-18 17:49:54 +10:00
Andrew Tridgell
75c5fda222
AP_SerialManager: make console do mavlink2 by default
...
this is low impact as it doesn't affect radios that may not do mavlink2
2018-07-18 16:21:02 +10:00
Randy Mackay
465564ba99
AP_Follow: fix initialisation of offsets
2018-07-18 15:11:09 +09:00
Randy Mackay
0834e7ae9b
AP_Follow: update FOLL log column names
...
VelN is easier to understand than VelX
Also minor formatting fix
2018-07-18 15:11:09 +09:00
Randy Mackay
f53bfdbd38
AP_Follow: fix reporting to GCS
2018-07-18 15:11:09 +09:00
Andrew Tridgell
027beb0dc1
AP_Compass: rename COMPASS_ROT_AUTO to COMPASS_AUTO_ROT
...
request from Randy
2018-07-18 16:07:19 +10:00
Andrew Tridgell
15d2daabf0
AP_Compass: don't do auto-orientation if using ROTATION_CUSTOM
2018-07-18 16:07:19 +10:00
Andrew Tridgell
a73492b40a
AP_Compass: fixed newline in statustext
2018-07-18 16:07:19 +10:00
Andrew Tridgell
196ba0e858
AP_Compass: make COMPASS_ROT_AUTO take 3 values
...
0 for disabled, 1 for check only, 2 for check and fix
2018-07-18 16:07:19 +10:00
Andrew Tridgell
d15a4ad92a
AP_Compass: improved error reporting, check all compasses
...
this uses extensions to the MAG_CAL_REPORT message to convey failures
of orientation checking.
It also checks all compasses, external or internal. It only tries to
fix the orientation if it is external
2018-07-18 16:07:19 +10:00
Andrew Tridgell
a5749c1869
AP_Compass: allow diagonals and off-diagonals to be calculated on rot change
...
this re-runs the fit on change in orientation
2018-07-18 16:07:19 +10:00
Andrew Tridgell
b4c7d1925e
AP_Compass: allow for runtime changes to SIM_MAG_DIA_?
...
this makes for easier testing
2018-07-18 16:07:19 +10:00
Andrew Tridgell
3c2e8baee2
AP_Compass: improved orientation reporting
...
and fail magcal if we fail orientation detection for an external
compass
2018-07-18 16:07:19 +10:00
Andrew Tridgell
8b0f40b402
AP_Compass: implement automatic compass orientation
...
this automatically determines the compass orientation when doing a 3D
compass calibration, if COMPASS_ROT_AUTO is enabled.
2018-07-18 16:07:19 +10:00
Andrew Tridgell
4acc06df87
AP_Compass: support diagonal, off-diagonal and rotation in SITL
...
compass
2018-07-18 16:07:19 +10:00
Andrew Tridgell
8170fbcf80
AP_Math: added a comment on conventions for to_euler()
2018-07-18 16:07:19 +10:00
Andrew Tridgell
d1f67f6ded
SITL: added diagonal, off-diagonal and orientation of SITL compass
2018-07-18 16:07:19 +10:00
Andrew Tridgell
1056e64419
AP_AHRS: added get_DCM_rotation_body_to_ned()
...
this specifically asks for the DCM attitude, which will be used for
the comass calibration to help determine compass orientation
2018-07-18 16:07:19 +10:00
Andrew Tridgell
5b0b9ef962
AP_AHRS: don't do yaw correction in DCM while calibrating compass
...
this avoids applying bad compass yaw, and helps the compass
calibration code
2018-07-18 16:07:19 +10:00
Andrew Tridgell
caa553e727
HAL_ChibiOS: fixed internal i2c mask for Pixracer
2018-07-18 12:04:01 +10:00
Andrew Tridgell
59aab9987e
HAL_ChibiOS: account for I2C base in compass masks
2018-07-18 12:04:01 +10:00
Randy Mackay
3d72022f6e
EKF: modify ALT_SOURCE param description
...
We regularly find users changing the ALT_SOURCE to 1 (range finder) when trying to implement terrain following which is not the correct way to do it
2018-07-18 08:31:09 +09:00
Patrick José Pereira
2ba6f64281
SITL: Remove unused variables
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-07-17 20:25:22 +09:00