Commit Graph

36267 Commits

Author SHA1 Message Date
Peter Barker
9f27e91f33 GCS_MAVLink: add simple stats to dataflash 2019-02-26 11:23:57 +11:00
Peter Barker
4ae64416c3 AP_Logger: add instance unit type 2019-02-26 11:23:57 +11:00
Andrew Tridgell
136e10a781 Plane: handle VTOL landing with incorrect height
if landing above expected height then run landing detector to allow a
switch from LAND_DESCEND to LAND_FINAL

this prevents the plane sitting on the ground until the battery runs
out
2019-02-26 11:12:58 +11:00
Peter Barker
3959780999 AP_AHRS: ensure home is always stored in ALT_FRAME_ABSOLUTE 2019-02-26 10:35:39 +11:00
Peter Barker
138d93702a GCS_MAVLink: use Location to change alt frames 2019-02-26 10:35:39 +11:00
Peter Barker
97792d1774 Sub: AHRS set_orientation renamed to update_orientation 2019-02-26 10:28:09 +11:00
Peter Barker
dea75a87fd Plane: AHRS set_orientation renamed to update_orientation 2019-02-26 10:28:09 +11:00
Peter Barker
693873fd04 Copter: AHRS set_orientation renamed to update_orientation 2019-02-26 10:28:09 +11:00
Peter Barker
20e28acb16 Tracker: AHRS set_orientation renamed to update_orientation 2019-02-26 10:28:09 +11:00
Peter Barker
75af170900 Rover: AHRS set_orientation renamed to update_orientation 2019-02-26 10:28:09 +11:00
Peter Barker
63e894e7e1 AP_AHRS: rename set_orientation to update_orientation
set_ should be reserved for setters
2019-02-26 10:28:09 +11:00
Peter Barker
8e1b48ef1e Copter: use height-above-ground for landing gear deployment 2019-02-26 08:21:32 +09:00
Andrew Tridgell
078eef91cb AC_WPNav: prevent I term buildup during landing
this prevents I term buildup in the XY velocity controller during
landing. This to account for the EKF giving a non-zero horizontal
velocity when we have touched down. The I term buildup in the XY
velocity controller can lead to the attitude error going above the
level for disabling the relax function as the throttle mix is
changed. That results in large motor outputs which can tip over the
vehicle after touchdown.

Thanks to Leonard for the suggestion
2019-02-26 10:14:42 +11:00
Peter Barker
2aa0de49bb AP_GPS: remove pointless initialisers 2019-02-26 09:53:28 +11:00
Simon Schopferer
6beac98d4a fixed conversion of airspeed from ft/s to knots as defined in latest JSBSim versions 2019-02-26 09:14:42 +11:00
Peter Barker
11a70536eb AP_UAVCAN: correct Notify singleton getter call 2019-02-26 08:46:37 +11:00
Arjun Vinod
f382a657bd AP_NavEKF3: fixed typos 2019-02-26 08:33:39 +11:00
Arjun Vinod
78b165e36f AP_NavEKF2: fixed typos 2019-02-26 08:33:39 +11:00
Peter Barker
49493676ea GCS_MAVLink: use MAV_PARAM_TYPE for sending parameter messages
... rather than mavlink_message_type_t
2019-02-26 08:20:25 +11:00
Peter Barker
d0ac09899b AP_UAVCAN: handle restart_node 2019-02-26 08:19:00 +11:00
Peter Barker
31a9ac7dbd Tools: autotest: add test suite for Tracker 2019-02-26 08:03:56 +11:00
Peter Barker
fe6ca9afa3 Tracker: add support for mavlink set-home-position 2019-02-26 08:03:56 +11:00
Peter Barker
9f6027b332 Tracker: make set_home bool, do not save bad homes 2019-02-26 08:03:56 +11:00
Andrew Tridgell
ecbe67a0fe AP_Math: fixed inefficient sq() function 2019-02-23 21:04:00 +11:00
Michael du Breuil
b290148ed0 Plane: Don't overwrite the quadplane loiter relax 2019-02-23 11:08:21 +11:00
Michael du Breuil
141429bc8e AP_InertialNav: Remove unused get_pos_z_derivative 2019-02-23 09:06:30 +09:00
Andrew Tridgell
ccfaaca82b AP_RangeFinder: fixed lightware serial with LW20 lidar
it needs a longer serial write to force it to serial mode from i2c
2019-02-23 11:01:07 +11:00
Peter Barker
166291cfef SITL: add missing override keywords 2019-02-22 15:01:09 +00:00
Peter Barker
5aa5add4bf AP_RPM: add missing override keywords 2019-02-22 15:01:09 +00:00
Peter Barker
54a250483b AP_OpticalFlow: add missing override keywords 2019-02-22 15:01:09 +00:00
Peter Barker
4d62c996b7 AP_L1_Control: add missing override keywords 2019-02-22 15:01:09 +00:00
Peter Barker
eb73a14da8 AP_HAL_Linux: add missing override keywords 2019-02-22 15:01:09 +00:00
Peter Barker
03e9becfcf AP_HAL_SITL: add missing override keywords 2019-02-22 15:01:09 +00:00
Peter Barker
7184d5e860 AP_Compass: add missing override keywords 2019-02-22 15:01:09 +00:00
Andrew Tridgell
a278a152fc Plane: fixed throttle nudge
broken by recent radio input changes

Thanks to Michael for noticing!
2019-02-22 18:41:34 +11:00
Peter Barker
e9fc158c8a Tools: autotest: eliminate use of recv_match with condition
We have functions for achieving this

Also, a lot of these places were missing timeouts, so any failure would
cause the entire suite to stop running
2019-02-22 16:30:05 +11:00
Michael du Breuil
c15983c690 Plane: prevent loss of control when Q_ENABLE is set while flying
Also rename check_throttle_suppression
2019-02-21 21:38:03 -07:00
Randy Mackay
b202270d1a AP_AHRS: minor format fixes 2019-02-22 13:00:07 +09:00
Randy Mackay
b805c40bf7 AP_Arming: add ahrs attitude check 2019-02-22 13:00:07 +09:00
Randy Mackay
f1a023c872 AP_AHRS: add attitudes_consistent pre-arm check 2019-02-22 13:00:07 +09:00
Randy Mackay
07f7d793df AP_Math: add quaternion::angular_difference 2019-02-22 13:00:07 +09:00
Randy Mackay
72fabb5cd3 AP_Arming: always run compass calibration checks 2019-02-22 13:00:07 +09:00
Andrew Tridgell
c290b1f3b5 Plane: fixed servo jitter due to airspeed estimate from throttle
when we have no other airspeed source and we are armed we get airspeed
from throttle. the default setting of k_throttle in the radio code
caused an oscillation of the value used in the airspeed estimate, each
time a RC frame came in.
2019-02-22 14:42:17 +11:00
Peter Barker
66416a5289 Copter: make toymode parameter descriptions consistent
Also correct "home button" -> "left (Mode button)"
2019-02-22 11:36:28 +09:00
Michael du Breuil
25a2c77782 Plane: Fix not logging quadplane control, and over logging attitude control 2019-02-22 11:59:26 +11:00
Andrew Tridgell
17d804f051 HAL_ChibiOS: fixed GPIO numbering for KakuteF4 2019-02-22 11:34:43 +11:00
Stephen Dade
de37e2e179 HAL_ChibiOS: Corrected servo output order for KakuteF4 2019-02-22 11:34:43 +11:00
Andrew Tridgell
6a4da68c4f Tools: auto-build TBS-Colibri-F7 board 2019-02-22 10:28:53 +11:00
Andrew Tridgell
d7abf27ec2 Plane: fixed servo jitter due to airspeed estimate from throttle
when we have no other airspeed source and we are armed we get airspeed
from throttle. the default setting of k_throttle in the radio code
caused an oscillation of the value used in the airspeed estimate, each
time a RC frame came in.
2019-02-22 10:27:36 +11:00
Andrew Tridgell
f23ff1c8e9 Tools: updated TBS-F7 bootloader 2019-02-22 10:27:17 +11:00