Commit Graph

21621 Commits

Author SHA1 Message Date
duccan
7415a714bc AP_HAL_ChibiOS: Added support for Bitcraze Crazyflie 2.1
Rework after review:
- Kept old IMU and barometer definition of crazyflie 2.0 in hwdef
- Added comment regarding soft-reset command
- Added defaults.parm for crazyflie
2020-06-12 13:17:02 +10:00
duccan
5c979f7989 AP_HAL_ChibiOS: Added support for Bitcraze Crazyflie 2.1 2020-06-12 13:17:00 +10:00
James Jacobsson
104ac049c6 AP_HAL_Chibios: Adjust MatekF765-Wing voltage and current scales
The new values matches the ones from here:
http://www.mateksys.com/?portfolio=f765-wing#tab-id-5

Also verified to be a lot more accurate in real life.
2020-06-12 13:16:56 +10:00
CUAVcaijie
eb6d2fe8c0 HAL_ChibiOS:Adapt to CUAV Nora V1.2 hardware 2020-06-12 13:16:54 +10:00
pkocmoud
3ca5619d52 HAL_ChibiOS: Added support for mRo Pixracer Pro flight controller 2020-06-12 13:16:51 +10:00
Andrew Tridgell
cb13b8aed1 AP_Vehicle: instantiate and init hott telem for copter4.0 2020-06-12 13:16:34 +10:00
Andrew Tridgell
a9eb620b2e AP_RangeFinder: cope with beyond max range with LightwareI2C 2020-06-02 10:38:22 +10:00
Andrew Tridgell
50f84ef6fc AP_GPS: fixed issue with GPS selection for moving baseline
when you have a moving baseline pair of ublox GPS modules and the
rover GPS does not have full fixed RTK lock on the base GPS then we
should not use it as our primary GPS as it's position and velocity can
be badly affected by the attempts of the GPS to gain a fixed lock.

This was observed in a flight with two F9P GPS, where the GPS velocity
data from the rover GPS went way off when it lost full RTK lock. It's
status stayed at 4, so it was selected as the primary GPS
2020-05-27 11:00:10 +10:00
Andrew Tridgell
6bf83e347d AP_Compass: revert change to RM3100 scale factor and increase scale limit
This reverts the change from #13895 and instead resolves the issue by
increasing the scale factor limit to 1.4

There is an open question as to why some RM3100 compasses show a
different scale factor (by about 1.25 times) to other versions of the
same sensor. As we haven't resolved this properly it seems the correct
thing to do is follow the datasheet but allow for a wider range of
scale factors to cope with the variation between sensors
2020-05-23 14:40:49 +10:00
Andrew Tridgell
4aa00e6540 HAL_ChibiOS: disable ROMFS hwdef.dat for 4.0 release
will be in 4.1
2020-05-22 12:18:17 +10:00
bugobliterator
f7efd57055 HAL_ChibiOS: use FIFO mode instead of Queue mode in FDCAN driver 2020-05-22 12:18:14 +10:00
Andrew Tridgell
87ac0f42aa AP_IOMCU: force safety off on IOMCU reset
if safety was forced off previously and we get an IOMCU reset then
force it off when the reset happens so vehicle can keep flying
2020-05-15 09:07:21 +10:00
Andrew Tridgell
782c91474e SITL: fixed dup param index 2020-05-12 15:34:46 +10:00
Siddharth Purohit
e6caa5b3ac AP_Arming: add arming message for compass not detected but assigned 2020-05-11 19:47:29 +10:00
Siddharth Purohit
9d3d7dfaaa AP_Arming: Primary Compass is always at serial# 0 2020-05-11 19:47:27 +10:00
Andrew Tridgell
65e9159d0f AP_NavEKF3: fixes for new compass API 2020-05-11 19:47:23 +10:00
Andrew Tridgell
0e53dbab82 AP_NavEKF2: fixes for new compass API 2020-05-11 19:47:21 +10:00
Andrew Tridgell
dc8f6833e7 AP_Compass: merged in compass device ID changes from master 2020-05-11 19:47:18 +10:00
Andrew Tridgell
021b37f8e4 SITL: added new compass parameters 2020-05-11 19:47:16 +10:00
Andrew Tridgell
54deb4cb36 AP_Param: added find_top_level_key_by_pointer 2020-05-11 19:47:14 +10:00
Andrew Tridgell
b9e07c61f3 AP_Common: added TSIndex.h 2020-05-11 19:47:12 +10:00
Andrew Tridgell
f9a045d04d AP_Common: added IGNORE_RETURN 2020-05-11 18:15:42 +10:00
Andrew Tridgell
c776455214 AP_SerialManager: added Hott telem 2020-05-11 18:15:42 +10:00
Andrew Tridgell
c5acb559ca AP_Hott_Telem: sync with master 2020-05-11 18:15:42 +10:00
Andrew Tridgell
212473ccb0 HAL_ChibiOS: fixed CubeSolo hwdef.dat 2020-05-11 18:15:42 +10:00
Andrew Tridgell
27abff56ea AP_Notify: fixed recursion bug in tone player 2020-05-11 18:15:42 +10:00
Andrew Tridgell
56be3788ec AP_InertialSensor: resync for 4.0 2020-05-11 18:15:42 +10:00
Andrew Tridgell
4489653fbe AP_Baro: resync for 4.0 2020-05-11 18:15:42 +10:00
Andrew Tridgell
810a1cbc52 AP_FlashStorage: resync for 4.0 update 2020-05-11 18:15:42 +10:00
Andrew Tridgell
13e6e71c3b AP_BoardConfig: added BRD_ALT_CONFIG 2020-05-11 18:15:42 +10:00
Andrew Tridgell
07db366d5d AP_RAMTRON: resync for 4.0 2020-05-11 18:15:42 +10:00
Andrew Tridgell
a335c19d95 AP_Frsky_Telem: support FPort 2020-05-11 18:15:42 +10:00
Andrew Tridgell
b2882c2cbc RC_Channel: added fport pad option 2020-05-11 18:15:42 +10:00
Andrew Tridgell
422da90ed6 AP_RCProtocol: added fport prototol support 2020-05-11 18:15:42 +10:00
Andrew Tridgell
432d07e1c4 AP_InternalError: resync for 4.0 update 2020-05-11 18:15:42 +10:00
Andrew Tridgell
3abe309df0 AP_IOMCU: resync for 4.0 update 2020-05-11 18:15:42 +10:00
Andrew Tridgell
7de195e3f6 HAL_SITL: resync for 4.0 update 2020-05-11 18:15:42 +10:00
Andrew Tridgell
e6c8b61b38 HAL_Linux: resync for 4.0 update 2020-05-11 18:15:42 +10:00
Andrew Tridgell
c9d5b8056e HAL_ChibiOS: resync for 4.0 update 2020-05-11 18:15:42 +10:00
Andrew Tridgell
418098694d AP_HAL: re-sync APIs for 4.0 update 2020-05-11 18:15:42 +10:00
Andrew Tridgell
e2c2c60556 AP_GPS: sync with master for new yaw handling 2020-05-11 18:15:42 +10:00
Andrew Tridgell
e18e16041f GCS_MAVLink: fixed build with updated mavlink xml 2020-05-11 18:15:42 +10:00
Andrew Tridgell
b5ca36762d mavlink: update for GPS yaw 2020-05-11 18:15:42 +10:00
Andrew Tridgell
f1ae653159 HAL_ChibiOS: switch non-composite USB ID
use newly allocated 0x1209/0x5740
2020-05-11 18:15:42 +10:00
Andrew Tridgell
6968d67a05 HAL_ChibiOS: set CS pins high while in bootloader
this appears to be the root cause of the parameter resets on
CubeOrange. We need to ensure the CS pin is not floating or random
noise on the SPI bus for FRAM can cause the FRAM to become corrupt
2020-05-11 18:15:40 +10:00
Andrew Tridgell
c8b47cfd9b GCS_MAVLink: consider NO_CHANGE as success for bootloader flash
this prevents GCS users from seeing "update failed"
2020-05-11 18:15:40 +10:00
Andrew Tridgell
a905f27ee8 AP_InertialSensor: suppress expected errors from invensense IMUs 2020-05-11 18:15:40 +10:00
Andrew Tridgell
a607054d6f HAL_ChibiOS: improve error messages for flashing bootloader
send progress as statustext messages
2020-05-11 18:15:40 +10:00
Andrew Tridgell
6baebbef79 AP_HAL: use enum for flash_bootloader() result 2020-05-11 18:15:40 +10:00
Andrew Tridgell
31830d9e5a HAL_ChibiOS: suppress SPI timeout error for expected delay 2020-05-11 18:15:40 +10:00