Commit Graph

19107 Commits

Author SHA1 Message Date
Andrew Tridgell 908b444a50 HAL_ChibiOS: update halconf for VER_7_0 API 2019-02-26 16:18:26 +11:00
Andrew Tridgell 247bb433ec HAL_ChibiOS: update chconf.h for VER_6_0 API 2019-02-26 16:18:26 +11:00
Peter Barker 80e8f9cdd8 AP_HAL_SITL: read all available SITL RC input packets
MAVProxy runs on its own clock.  While our clock is stopped for whatever
reason MAVProxy will continue to send RC input.  This patch always gives
us the most recent RC input from MAVProxy.

Also add sanity check on packet received
2019-02-26 14:17:21 +11:00
Peter Barker 6fd687e861 AP_AHRS: retry sending home/origin if it fails 2019-02-26 14:01:41 +11:00
Peter Barker ace5192852 GCS_MAVLink: retry sending home/origin if it fails
Also grants us the ability to stream these messages
2019-02-26 14:01:41 +11:00
IamPete1 4bb28eb63c AP_Windvane: add rpm wind speed snesor type 2019-02-26 09:58:56 +09:00
IamPete1 696953fb97 AP_RPM: create singleton 2019-02-26 09:58:56 +09:00
Peter Barker b9cd3a8a39 AP_Logger: add logging of mavlink stats 2019-02-26 11:23:57 +11:00
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
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 63e894e7e1 AP_AHRS: rename set_orientation to update_orientation
set_ should be reserved for setters
2019-02-26 10:28:09 +11: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
Andrew Tridgell ecbe67a0fe AP_Math: fixed inefficient sq() function 2019-02-23 21:04:00 +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
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 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 70a10c6375 HAL_ChibiOS: adjust TBS-F7 bootloader setup 2019-02-22 10:27:17 +11:00
Andrew Tridgell 5319fbb52b HAL_ChibiOS: enable heater pin on TBS-Colibri-F7 2019-02-22 10:27:17 +11:00
Andrew Tridgell dde97d2b0e HAL_ChibiOS: support FMU heater pins 2019-02-22 10:27:17 +11:00
Andrew Tridgell 27a1fec911 HAL_ChibiOS: TBS-F7 is active low on sd power 2019-02-22 10:27:17 +11:00
Andrew Tridgell 94bace91a4 HAL_ChibiOS: bring up sensors rail after boot on TBS F7
this prevents a reset loop on GPIO config
2019-02-22 10:27:17 +11:00
Andrew Tridgell 025bd7e0d8 HAL_ChibiOS: added support for TBS-Colibri-F7
This is a fmuv5 board varient
2019-02-22 10:27:17 +11:00
Arjun Vinod a0e7c37f8c AP_NavEKF2: fixed typos 2019-02-22 10:21:35 +11:00
Peter Barker 25282c2989 AP_Mission: rearrange for early-exit if command not found for index 2019-02-21 08:31:12 +11:00
Peter Barker 3c3cda81e9 AP_Mission: remove redundant check
get_next_do_command does this check
2019-02-21 08:31:12 +11:00
Peter Barker f5d50935fd AP_Mission: scope variables more tightly 2019-02-21 08:31:12 +11:00
Peter Barker 7da35e9d08 AP_Mission: change while loop out for for loop 2019-02-21 08:31:12 +11:00
Peter Barker 4ec11f608d AC_Landing: use abs not fabsf for integers 2019-02-20 19:23:54 +11:00