Commit Graph

39842 Commits

Author SHA1 Message Date
Peter Barker 4fbd4168b0 Copter: correct compilation when SYSTEMID mode is disabled 2020-02-05 10:15:17 +11:00
Andrew Tridgell 195dc50d71 Tools: updated AP_Periph CI and docs
target is now f103-GPS
2020-02-05 10:15:17 +11:00
Andrew Tridgell df1b428c97 Tools: added f103-GPS bootloader 2020-02-05 10:15:17 +11:00
Andrew Tridgell 037d8b66bb Copter: remove AP_ADSB from wscript 2020-02-05 10:15:17 +11:00
Andrew Tridgell 29885ff813 Plane: remove AP_ADSB from wscript 2020-02-05 10:15:17 +11:00
Andrew Tridgell b37cc178ee waf: always build AP_ADSB
needed for singleton
2020-02-05 10:15:17 +11:00
Andrew Tridgell ba23ce7857 AP_ADSB: added handle_adsb_vehicle() API
this allows for UAVCAN ADSB adapters
2020-02-05 10:15:17 +11:00
Andrew Tridgell da943524d1 AP_ADSB: added singleton interface 2020-02-05 10:15:17 +11:00
Andrew Tridgell 2451d1bf38 AP_UAVCAN: support ADSB over UAVCAN 2020-02-05 10:15:17 +11:00
Andrew Tridgell bb2db15b2a AP_Periph: support ADSB UAVCAN peripherals
generate TrafficReport UAVCAN packets from ADSB_VEHICLE MAVLink
messages from a Ping
2020-02-05 10:13:53 +11:00
Andrew Tridgell ad2d9d1666 HAL_ChibiOS: added a f103-ADSB firmware
for presenting a ping ADSB device as UAVCAN
2020-02-05 10:13:53 +11:00
Andrew Tridgell 43fb6bfdd1 HAL_ChibiOS: split out f103-GPS from base f103-periph
this makes it easier to create more peripheral variants
2020-02-05 10:13:53 +11:00
Andrew Tridgell 1743ba3933 AP_Periph: fixed build warning 2020-02-05 10:13:53 +11:00
Michael du Breuil 9ba3bfbab5 AP_Scripting: Add an example message interval script 2020-02-05 10:13:53 +11:00
Michael du Breuil 4eaf4b72ad AP_Scripting: Add a one arg variant of uint32_t, and expose table unpack 2020-02-05 10:13:53 +11:00
Randy Mackay 37288b585c Copter: systemid mode formatting and name changes 2020-02-05 10:13:53 +11:00
Leonard Hall 02e4ffe496 Copter: System ID mode 2020-02-05 10:13:53 +11:00
Leonard Hall b6b0b3e4b4 Copter: Let modes stop Attitude Logging 2020-02-05 10:13:53 +11:00
Bill Geyer 362abc143a AP_Motors: make init_targets_on_arming global 2020-02-05 10:13:53 +11:00
bnsgeyer 47b1a20238 AC_AttitudeControl: incorporate SysID into tradheli 2020-02-05 10:13:53 +11:00
Leonard Hall e9ff670df5 AC_AttitudeControl: Support System ID tests 2020-02-05 10:13:53 +11:00
Andrew Tridgell a610279eb0 HAL_ChibiOS: reduce max compasses to 1 on AP_Periph 2020-02-05 10:13:53 +11:00
Andrew Tridgell 2857b57d92 AP_Periph: added LED_BRIGHTNESS param
default was too bright
2020-02-05 10:13:53 +11:00
Michael du Breuil f4a1410434 AP_Motors: Fix safe disarm 2020-02-05 10:13:53 +11:00
Leonard Hall 0719626d2b AP_Motors: Use safety timer to enable pwm before spool up 2020-02-05 10:13:53 +11:00
Michael du Breuil 9b2fcdfb82 AP_Scripting: Raise default heap size 2020-02-05 10:13:53 +11:00
Michael du Breuil 4fc5eccb8f AP_Scripting: Stop running scripts if the enable flag ever goes false 2020-02-05 10:13:53 +11:00
Peter Barker b5090ed78c autotest: make polyfence avoidance test more reliable
Amusingly, at faster speedups the car made a decision to turn North
rather than South which it does when at lower speedups.

Gave it no choice in the matter.
2020-02-05 10:13:53 +11:00
Peter Barker 78a2e55cbe Tools: autotest changes after Auto behaviour change on completion 2020-02-05 10:13:53 +11:00
Randy Mackay 8d181faca6 Rover: Hold or Loiter within Auto on mission completion 2020-02-05 10:13:53 +11:00
Peter Barker c5822e1557 autotest: drain mav before attempting disarm
If the queue of messages for us to parse is very long then we can time
out before managing to parse them all and find the disarm!
2020-02-05 10:13:53 +11:00
Peter Barker 472d18d07a autotest: raise exception if no simulated time available
Sucking the mavlink message queue dry unexpectedly is worse than any
tests being broken and failing with a clear error.
2020-02-05 10:13:53 +11:00
Peter Barker b019043dae autotest: fix mission-load dedupe issue
There are other ways we can receive Flight Plan received now, and
MAVProxy's statustext dedupe stuff was biting us
2020-02-05 10:13:53 +11:00
Peter Barker 3d59d2d6c8 AP_Vehicle: add singleton 2020-02-05 10:13:53 +11:00
Peter Barker aa1f3b5348 waf: reference correct commit for debug fixes 2020-02-05 10:13:53 +11:00
Leonard Hall 92402da5ef Copter: add voltage compensation to _throttle_thrust_max 2020-02-05 10:13:53 +11:00
Andrew Tridgell e3cbb3a6b4 AP_GPS: fixed UAVCAN GPS status when disconnected
this fixes the status reported for a UAVCAN GPS when the cable is
unplugged. It should be "NO GPS", but was instead reporting "NO
FIX". The user had no way to distinguish between not finding a CAN GPS
at all and it not getting satellites

thanks to CUAV for reporting
2020-02-05 10:13:53 +11:00
murata 2a003bcd13 AP_RangeFinder: Add TF03-180 2020-02-05 10:13:53 +11:00
Randy Mackay 9413c63548 SRV_Channel: renamed EPM to Gripper in FUNCTION param docs 2020-02-05 10:13:53 +11:00
Andrew Tridgell f24de4e2bc AP_NavEKF3: set a min yaw accuracy from GPS of 5 degrees
GPS modules tend to be rather optimistic about their yaw accuracy. By
setting a min or 5 degrees we prevent the user constantly getting
warnings about yaw innovations
2020-02-05 10:13:53 +11:00
Andrew Tridgell 0b435559bd AP_GPS: improved checking for valid yaw for moving baseline
and fixed check for carrSolnFixed
2020-02-05 10:13:53 +11:00
Michael du Breuil a0475874a7 AP_GPS: UBLOX: Parse RELPOSNED messages
This does not yet:
  - validate the receiver configuration
  - manage timing out stale GPS heading info
  - relPosNormalized usage isn't clear, which may defeat the STRICT_LENGTH_CHECK
2020-02-05 10:13:53 +11:00
Michael du Breuil 624ed28ef8 AP_Logger: Log GPS yaw accuracy 2020-02-05 10:13:53 +11:00
Michael du Breuil 7b9d3594fb AP_Scripting: Fix generation of uint32_t arguments
This also fixes the message interval description not generating
correctly, it must have been manually edited before
2020-02-05 10:13:53 +11:00
Peter Barker 5ac44c3aaf waf: reference commit fixing debug
Will help to fix https://discuss.ardupilot.org/t/add-group-name-s-already-present/44047
2020-02-05 10:13:53 +11:00
Andrew Tridgell 45a6df0cee HAL_ChibiOS: drop mRoControlZeroF7 DPS310 clock to 5MHz 2020-02-05 10:13:53 +11:00
Andy Piper 3bf2c49871 ArduCopter: allow logging of both IMU and IMU_RAW
allow logging of both IMU and IMU_RAW at the same time so that filtering and errors can be seen
2020-02-05 10:13:53 +11:00
Randy Mackay 07d99bec9f Copter: reject reboot request from GCS if auto esc cal on next reboot
this resolves an edge case in which the motors could spin up on the next reboot because the user didn't unplug the battery to reboot the flight controller
2020-02-05 10:13:53 +11:00
Randy Mackay ba8e916e44 GCS_Mavlink: handle_preflight_reboot made virtual 2020-02-05 10:13:53 +11:00
Nick Restivo ad9fc4a643 Tools: added name to GIT_Success.txt
Testing if I can add changes
2020-02-05 10:13:53 +11:00