Commit Graph

40572 Commits

Author SHA1 Message Date
Siddharth Purohit e86e8f03e3 AP_HAL: add methods to extract devid details 2020-07-27 19:53:02 +10:00
Siddharth Purohit b7346f50f1 AP_Compass: reset compass ids not present after compass cal
also implement replacement mechanism for UAVCAN compasses
2020-07-27 19:50:30 +10:00
Andrew Tridgell a6e5e92ab7 AP_RangeFinder: fixed legacy parsing of 65436 for lightware i2c
some lidars will probe as legacy protocol and return 65436 as range
2020-07-27 19:49:39 +10:00
Andrew Tridgell aba60c030e Plane: fixed use of VTOL control for missions
horizontal speed was not being setup when doing waypoint missions in
VTOL mode
2020-07-13 13:32:56 +10:00
Andrew Tridgell 81fe9e15bd Plane: updated release notes for beta3 2020-07-07 11:36:41 +10:00
Andrew Tridgell 9bece88212 HAL_ChibiOS: enable HAL storage erase 2020-07-07 11:34:18 +10:00
Andrew Tridgell 035697458a StorageManager: use hal.storage->erase() 2020-07-07 11:33:34 +10:00
Andrew Tridgell 299d05fcd7 AP_HAL: added erase() method to Storage class 2020-07-07 11:33:30 +10:00
Andy Piper 39ee49501f AP_Compass: enable LIS3MDL and friends 2020-07-07 11:33:23 +10:00
Gone4Dirt f7ac15800b Plane: force mission resume on RTL when DO_LAND_START in mission 2020-07-07 11:30:08 +10:00
Andrew Tridgell db364257d8 AP_Mission: Added force resume for when MIS_RESTART=1 2020-07-07 11:28:51 +10:00
Andrew Tridgell eabe320cee Plane: fixed build without terrain 2020-06-23 08:37:11 +10:00
Andrew Tridgell 847452f01b Plane: prepare for release of 4.0.6beta2 2020-06-23 07:49:07 +10:00
Andrew Tridgell 13bf584815 Plane: updated release notes for 4.0.6beta2 2020-06-23 07:47:58 +10:00
Peter Barker 69190bbfe2 Tracker: add dummy functions so linking succeeds 2020-06-23 07:31:28 +10:00
Peter Barker bb91ea90cb Tracker: consolidate camera dummy functions into system.cpp 2020-06-23 07:31:25 +10:00
Peter Barker fba5787048 Tracker: move all dummy methods to system.cpp
MAVLink makes less sense than this
2020-06-23 07:31:23 +10:00
Randy Mackay 73a20f6f08 AP_AHRS: attitudes_consistent obeys always_use_EKF 2020-06-23 07:31:18 +10:00
Andrew Tridgell 756d657afd HAL_ChibiOS: increase monitor thread stack to 768 bytes
attempt to fix issue #14582
2020-06-23 07:31:13 +10:00
Henry Wurzburg ff55954a3b AP_RangeFinder: rename Benewake types for easier identification 2020-06-23 07:31:10 +10:00
Andrew Tridgell f1cf4afde7 HAL_ChibiOS: fixed default CubeOrange pin for 2nd current sensor 2020-06-23 07:31:08 +10:00
bugobliterator 8d9a867126 Tools: fix sitl_calibration stopping at calibration report 2020-06-23 07:31:03 +10:00
bugobliterator a93b93b741 AP_Compass: return id of max empty compass state when prio id is 0 2020-06-23 07:31:00 +10:00
Andras Schaffer a58415391f AP_Proximity: fix proximity ignored zone calulation
It seems there was a typo in the checking of proximity ignored zones.
2020-06-23 07:30:44 +10:00
Andrew Tridgell 61446d749b Plane: added arming check for terrain data 2020-06-23 07:27:03 +10:00
Andrew Tridgell 212ab83347 AP_Mission: added contains_terrain_relative()
used in plane arming check
2020-06-23 07:26:58 +10:00
Andrew Tridgell 589c77f880 Tools: added Pix32v5 bootloader 2020-06-12 21:23:51 +10:00
Andrew Tridgell 1c5cb0c2ec Tools: added Holybro Pix32v5 to build 2020-06-12 21:23:49 +10:00
Andrew Tridgell dc6257fafc HAL_ChibiOS: added Holybro Pix32v5 2020-06-12 21:23:46 +10:00
MATEKSYS b741980a08 HAL_ChibiOS: MatekH743: move baro to I2C2 bus 2020-06-12 13:17:10 +10:00
Andrew Tridgell a15108fee4 HAL_ChibiOS: fixed build with our old compiler
gcc 4.9 doesn't like static_assert() in C code
2020-06-12 13:17:07 +10:00
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
Zach Dwiel f85b4996ff Copter: fence.init() was getting called even when AC_FENCE was DISABLED 2020-06-12 13:16:49 +10:00
Andrew Tridgell 500755b5db Plane: call AP_Vehicle setup code 2020-06-12 13:16:41 +10:00
Andrew Tridgell 866775103e Copter: call AP_Vehicle setup code 2020-06-12 13:16:38 +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
Henry Wurzburg 79ab2179c9 Plane: prevent jump to Circle upon Takeoff mode entry unless flying >10s 2020-05-28 08:25:54 +10:00
Andrew Tridgell 6c6998c48a Plane: update release notes ready for 4.0.6beta1 2020-05-27 13:24:42 +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 151735b8b5 Plane: updated release notes 2020-05-23 17:38:52 +10:00
Andrew Tridgell 5eecd027d6 Plane: increased allowed time for mavlink send to 750us
this is to allow more time to get streams out at low loop rates
2020-05-23 17:01:22 +10:00
Andrew Tridgell 8d93094dcf Plane: implement RTL_CLIMB_MIN parameter
this allows for an initial climb on RTL where roll is limited to
LEVEL_ROLL_LIMIT
2020-05-23 16:55:20 +10:00
Andrew Tridgell 7220abfc27 Plane: set version to 4.0.6beta1 2020-05-23 14:42:27 +10:00
Andrew Tridgell 7953c784a5 Plane: started on release notes for 4.0.6 2020-05-23 14:42:18 +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