Commit Graph

37643 Commits

Author SHA1 Message Date
Andrew Tridgell 967c6462cb HAL_ChibiOS: rename Pixhawk4Pro to Pixhawk6 2019-04-16 04:33:17 +10:00
Peter Barker b2acd15a55 Tools: autotest: encode string to bytes before passing to statustext_send 2019-04-15 18:40:01 +10:00
Randy Mackay 403195d9d4 Copter: fix auto-disarm check
Copters go to SHUT_DOWN when estop is engaged
2019-04-15 15:34:14 +09:00
Andrew Tridgell ac7e969aae SITL: improve airspeed in FlightAxis for RF8
use 3D wind to get airspeed along X axis of aircraft
2019-04-15 10:07:54 +10:00
Michael du Breuil cc679db55b AP_GPS: Log reciever status to GPS SD card
This improves log analysis of bad GPS health messages when you have a
report of bad GPS health but lost the MAVLink message, or didn't have
access to the autopilot log with the information for some reason.
2019-04-14 13:24:36 -07:00
Michael du Breuil 32c583bd20 AP_GPS: Remove external event from GPS data stream
If the event pin floats, this can lead to UART congestion, causing the
EKF to reject the GPS data, and the vehicle will drift around the sky in
a most disturbing manner
2019-04-14 13:24:36 -07:00
Peter Barker cb88bc7f53 Sub: adjust for desired spool state renames 2019-04-14 12:18:03 +09:00
Peter Barker ad6c1acbd7 waf: add -Werror=type-limits
This catches always-true comparisons and the like

Also remove redundant directive
2019-04-14 12:18:03 +09:00
Peter Barker f09822a400 Plane: adjust for desired spool state and spool state renames 2019-04-14 12:18:03 +09:00
Peter Barker 46a6f45e4a Copter: adjust for desired spool state and spool state renames 2019-04-14 12:18:03 +09:00
Peter Barker 1e606cdc5b AP_Motors: make desired spool state and spool state enum-classes
This will help avoid getting the enumerations mixed up
2019-04-14 12:18:03 +09:00
Peter Barker 79fa39e13b AC_AutoTune: cope with renamed spool state enums 2019-04-14 12:18:03 +09:00
Peter Barker b7eca63073 Tools: autotest: send statustext with test name to autopilot
This gets logged into the dataflash so you can quickly find relevant
logs
2019-04-14 07:56:39 +10:00
Randy Mackay 2c682c7001 Copter: add missing AccelZ to GCS_PID_MASK param description 2019-04-13 13:33:52 +09:00
Randy Mackay 571d933b3f Copter: fix send_pid_tuning
the rate roll PID was being overwritten when PID logging was enabled
2019-04-13 13:33:52 +09:00
Randy Mackay 54fe1dad82 AP_Motors: add missing break to Hexa-H 2019-04-13 10:36:36 +09:00
murata df85409a4c AP_Motors: Integrate processing result setting true 2019-04-13 10:29:49 +09:00
Andrew Tridgell 32ebd2080f HAL_ChibiOS: mark SDIO and SDMMC IO as pullup
this is needed for boards such as PixhackV3 which don't have hardware
pullups. Thanks to Hongle for reporting this.
2019-04-12 19:44:00 +10:00
Michael du Breuil 6dd05db3b7 AP_Rangefinder: Fix VL53L1X ignoring return status 2019-04-12 17:23:19 +10:00
Michael du Breuil f1d5269f9e AP_Scritping: remove more libraries from the sandbox 2019-04-11 23:03:20 -07:00
Michael du Breuil d7e71f85b8 AP_Scripting: Add a debug level param 2019-04-11 23:03:20 -07:00
Michael du Breuil 200870e7a0 AP_Notify: Add singleton, expose string message player 2019-04-11 23:03:20 -07:00
Michael du Breuil e7d59514d9 AP_Scripting: Add an initial generator 2019-04-11 23:03:20 -07:00
Dr Nic Williams 7c017568e4 Vagrant: quieten vagrant/virtualbox window
see https://discuss.ardupilot.org/t/tutorial-for-running-sitl-simulator-on-macos-with-vagrant-xquartz/38383/11\?u\=drnic
2019-04-12 14:49:00 +10:00
Randy Mackay a2373ebca2 AP_Motors: add support for Hexa-H frame
same as X frame except that middle motors are closer to center
2019-04-12 09:32:12 +09:00
Leonard Hall c00ee6aac5 AC_AttitudeControl: increase rate I gain to match P gain 2019-04-12 09:28:24 +09:00
Leonard Hall e170beaf8c AC_AttitudeControl: reduce throttle mix for manual modes 2019-04-12 09:28:22 +09:00
Arjun Vinod 77a7c1bdf7 RC_Channel: fixed typo 2019-04-12 09:23:42 +10:00
murata 49b0a00182 AP_RangeFinder: Delete unnecessary judgment 2019-04-11 06:11:47 -07:00
Peter Barker 3a4cbdd41f Plane: remove pointless update_notify shim 2019-04-11 05:31:43 -07:00
Andrew Tridgell 006583d812 HAL_ChibiOS: fixed iomcu build with flash driver 2019-04-11 13:22:53 +10:00
Andrew Tridgell 7c726b2f42 HAL_ChibiOS: use hal.flash API 2019-04-11 13:22:53 +10:00
Andrew Tridgell 7a70a888b5 HAL_SITL: added empty flash driver 2019-04-11 13:22:53 +10:00
Andrew Tridgell 6bae0960df HAL_Linux: added empty flash driver 2019-04-11 13:22:53 +10:00
Andrew Tridgell 92e509a418 HAL_Empty: added empty flash driver 2019-04-11 13:22:53 +10:00
Andrew Tridgell 36f7116054 HAL_ChibiOS: implement flash driver 2019-04-11 13:22:53 +10:00
Andrew Tridgell 65d051cbc9 AP_HAL: added hal.flash driver
needed for semaphore
2019-04-11 13:22:53 +10:00
Randy Mackay 9fa742e1be AP_InertialSensor: fix compiler warning in BMI088 driver 2019-04-11 10:32:51 +09:00
Phillip Kocmoud 564a82c5da uploader.py: Add detection for mRo USB devices 2019-04-11 11:16:48 +10:00
Michael du Breuil ae1d7f0b26 Tools: Add a scripting build target to CI 2019-04-10 01:30:32 -07:00
Peter Barker 119c5fe835 Tools: autotest: do not navigate to 0,0,0
This falls afould of the uninitialised-location check
2019-04-10 11:24:55 +10:00
Peter Barker 9c9ebb908c AC_AttitudeControl: store integrators temps in correct type 2019-04-10 09:37:19 +09:00
Peter Barker 70aed0f29c AC_AttitudeControl: store acro passthrough values as float
The function which sets these has floats, and the function we send them
to uses floats... so store them as floats...
2019-04-10 09:37:19 +09:00
Peter Barker 601504e685 Tools: autotest: ensure RNFD messages emitted 2019-04-09 22:17:58 +10:00
Peter Barker a19df642a0 Plane: RangeFinder now handles RFND logging 2019-04-09 22:17:58 +10:00
Peter Barker 3e51d8c7d7 Copter: RangeFinder now handles RFND logging 2019-04-09 22:17:58 +10:00
Peter Barker 540d4ae796 AP_Logger: RangeFinder library now does its own logging
Since we were poking the backends directly it should probably be over
there
2019-04-09 22:17:58 +10:00
Peter Barker dd567ad18a AP_RangeFinder: handle RFND logging 2019-04-09 22:17:58 +10:00
Pierre Kancir 36f12e9818 AP_GPS: use get_distance_NED 2019-04-09 20:59:48 +10:00
Pierre Kancir 2adbfed70a AP_Follow: use get_distance_NED 2019-04-09 20:59:48 +10:00