Commit Graph

38294 Commits

Author SHA1 Message Date
ChristopherOlson
8d43e828cf Copter: TradHeli - minor code format fix 2019-06-04 09:57:13 +09:00
Bill Geyer
0c64cdc565 Copter: TradHeli - add virtual flybar to heli acro flight mode 2019-06-04 09:57:13 +09:00
1iggy2
220176f283 Plane: added octa I frame 2019-06-04 09:49:44 +09:00
1iggy2
3c4bac7c97 Copter: added I frame for octa 2019-06-04 09:49:44 +09:00
1iggy2
7323a5da9d AP_Motors: Added Octo I frame 2019-06-04 09:49:44 +09:00
ChristopherOlson
fc84995fb9 AP_Motors:Heli - remove H_LAND_COL_MIN and replace with H_COL_MID 2019-06-04 09:48:03 +09:00
Peter Barker
fb3f761fc7 AP_UAVCAN: fix redefinition of UAVCAN_NODE_POOL_BLOCK_SIZE warning 2019-06-04 10:25:15 +10:00
Peter Barker
cbf6d44277 AP_RCProtocol: fix missing-declaration warning in example 2019-06-04 10:25:15 +10:00
Peter Barker
73c81519da AP_GPS: fix missing-declaration warning in example 2019-06-04 10:25:15 +10:00
Peter Barker
9ee0befb38 Tools: autotest: Copter: add avoidance test for beacon fence 2019-06-04 09:06:07 +09:00
Peter Barker
3008fe6eb5 Tools: autotest: Copter: add test for fence avoidance sliding 2019-06-04 09:06:07 +09:00
Peter Barker
acdddb8b1f Copter: autotest: Copter: add test for proximity boundary avoidance 2019-06-04 09:06:07 +09:00
Peter Barker
e9160cd9d5 AC_Avoid: correct iteration through edges 2019-06-04 09:06:07 +09:00
Peter Barker
cd6e5b48a1 AC_Avoid: move check for zero-desired-velocity into adjust_velocity_polygon
This is the method which divides by the length of this vector; the
check belongs in here.
2019-06-04 09:06:07 +09:00
Vincent
3177d24429 AP_HAL: Make linux hardware define more readable 2019-06-04 10:00:09 +10:00
Peter Barker
3e098df65a Copter: move common proximity pre-arm checks up
It will not be possible to arm if a proximity sensor has been configured
but is not working after this patch.

The can't-arm-when-within-60cm-of-something check can still be disabled
with the PARAMETER arming check bit.
2019-06-04 08:45:34 +09:00
Peter Barker
df3a7d32ea Rover: move common proximity pre-arm checks up 2019-06-04 08:45:34 +09:00
Peter Barker
bb14ec1a2c AP_Arming: make proximity sensor checks common 2019-06-04 08:45:34 +09:00
Peter Barker
99c56c1770 GCS_MAVLink: fix MAV.txp log field
This was being promoted to an unsigned.
2019-06-04 09:05:37 +10:00
Andrew Tridgell
a4c17a3913 Tools: move skip_board_waf after update_submodules in build_binaries
thanks to Peter for noticing this
2019-06-03 21:48:27 +10:00
Andrew Tridgell
1f98665699 moved build.Binaries ahead of build.All
ensure we get new builds out quickly
2019-06-03 17:59:28 +10:00
Andrew Tridgell
0b321eb84c Tools: speed up builds and report build time per build 2019-06-03 17:59:28 +10:00
Peter Barker
9f6b48b743 Copter: remove unneeded initialisation 2019-06-03 16:48:38 +09:00
斯东Stone
70c0ba5722 AP_RangeFinder: Fix typo in Benewake TFMiniPlus python tool 2019-06-02 23:40:21 -07:00
Peter Barker
fa150bc982 Copter: remove loop-initialisation of output
Use brace initialisation instead.  This is the only loop in here which
loops over the max number of compasses vs the number of compasses.
2019-06-03 12:54:17 +09:00
Andrew Tridgell
e9ed3540f1 AP_NavEKF2: constrain field by table after fusion
this should make for faster convergence
2019-06-03 12:21:29 +10:00
Andrew Tridgell
3835d2613e AP_NavEKF2: added EK2_MAG_EF_LIM parameter
this sets a limit on the difference between the earth field from the
WMM tables and the learned earth field inside the EKF. Setting it to
zero disables the feature. A positive value sets the limit in mGauss.
2019-06-03 12:21:29 +10:00
Andrew Tridgell
7206258587 AP_Compass: use new get_earth_field_ga() API 2019-06-03 12:21:29 +10:00
Andrew Tridgell
be62bf32cb AP_Declination: added get_earth_field_ga() interface
this gives a more convenient API for getting the earth field as a
vector
2019-06-03 12:21:29 +10:00
Peter Hall
49003868fe AP_Windvane: add NMEA wind sensor type 2019-06-03 10:48:19 +09:00
Peter Hall
8caa753a55 Rover: init windvane with serial_manager 2019-06-03 10:48:19 +09:00
Peter Hall
fe38413ddc AP_SerialManger: add windvane serial type 2019-06-03 10:48:19 +09:00
Peter Hall
ea4ecebfc4 AP_Math: add speed unit converstion defs 2019-06-03 10:48:19 +09:00
Tatsuya Yamaguchi
e18b3cac6b Rover: Allowed to arm in Manual mode without GPS 2019-06-03 08:26:14 +09:00
ChristopherOlson
b6bfc8947f AP_Motors:Heli Governor - change rotor_rpm argument to a float 2019-06-03 07:53:01 +09:00
bnsgeyer
f1a32d7872 AP_Motors: Tradheli- modified thrcrv and gov parameter group names 2019-06-03 07:53:01 +09:00
ChristopherOlson
b1046c7b80 AP_Motors:Heli_RSC Governor - add method of droop compensation
- improve handling of outliers from speed sensor
 - change governor_tc variable to governor_thrcurve
 - remove equals zero from variable declarations
2019-06-03 07:53:01 +09:00
bnsgeyer
4120e29614 AP_Motors: Tradheli-complete conversion of throttle curve params to percent
add conversion for throttle curve params for upgrade
2019-06-03 07:53:01 +09:00
bnsgeyer
3629541a20 AP_Motors: Tradheli - implement enable params for throttle curve and governor 2019-06-03 07:53:01 +09:00
bnsgeyer
51d4029f03 AP_Motors: Tradheli - maintain consistent variable types as used in calcs
add override to declaration of new functions
2019-06-03 07:53:01 +09:00
ChristopherOlson
cca58e393a AP_Motors:Heli_RSC - add support for rotor speed governor with droop speed control 2019-06-03 07:53:01 +09:00
ChristopherOlson
9d03b44cf7 Copter:Heli - governor set_rpm call independent of frame type 2019-06-03 07:53:01 +09:00
ChristopherOlson
2f7d198196 Copter:Logging TradHeli - add governor output and throttle logging for heli governor 2019-06-03 07:53:01 +09:00
ChristopherOlson
8312dcae5d Copter:Scheduler - increase update rate for rpm to 40Hz for helicopter governor 2019-06-03 07:53:01 +09:00
Peter Barker
e9552ec4e1 Tools: autotest: more efficient set_rc_from_map 2019-06-02 10:02:24 +10:00
Andrew Tridgell
3f71a84894 Tools: timestamp build steps
try to track down what is slow
2019-05-31 07:36:16 +10:00
Peter Barker
062ee71135 AC_Fence: simplify fence loading
There's only one caller to this, who didn't force loading - so remove
the unused parameter.

Also remove the _boundary_loaded boolean; it was only set to true in one
place - just before the sole caller called the function!
2019-05-30 16:03:58 +09:00
Peter Barker
b25acb4d22 Sub: move Arming functions into AP_Arming file 2019-05-30 16:02:10 +09:00
Peter Barker
13f7022cec Plane: move Arming functions into AP_Arming file 2019-05-30 16:02:10 +09:00
Peter Barker
112b153268 Copter: move Arming functions into AP_Arming file 2019-05-30 16:02:10 +09:00