Commit Graph

31039 Commits

Author SHA1 Message Date
Peter Barker af56826107 Copter: follow mode fixups
add follow to FLTMODEx param descriptions
remove follow's set_velocity method
10hz logging of desired velocity in follow mode
follow mode uses pos error P gain
add send-debug-via-mavlink option
don't enter follow if follow lib is disabled
follow debug slowed to 1hz
disable follow on min-features builds
2018-03-05 15:08:08 +09:00
Randy Mackay 6ee101ca98 Copter: rename chase to follow 2018-03-05 15:08:08 +09:00
Randy Mackay 053983eb70 Copter: integrate AP_Follow into chase mode 2018-03-05 15:08:08 +09:00
Peter Barker 199455dc56 Copter: add chase mode 2018-03-05 15:08:08 +09:00
Randy Mackay 0840f0e8ae Copter: add AP_Follow to build 2018-03-05 15:08:08 +09:00
Randy Mackay c1dbd67a9b AP_Follow: library to track and follow another vehicle 2018-03-05 15:08:08 +09:00
Randy Mackay be804aa74e AC_Avoid: limit velocity and get-max-speed become public
this allows AP_Follow to use these function
2018-03-05 15:08:08 +09:00
Andrew Tridgell f7751ec44a AP_UAVCAN: reverted UAVCAN PR 7827 2018-03-05 14:16:54 +11:00
Andrew Tridgell 504e231ba2 AP_AHRS: reverted UAVCAN PR 7827 2018-03-05 14:16:54 +11:00
Andrew Tridgell fd6185be0f HAL_ChibiOS: fixed python3 pickle error 2018-03-05 09:50:27 +11:00
Andrew Tridgell ba55f99419 waf: fixed python3 pickle error 2018-03-05 09:50:27 +11:00
night-ghost 4d5b5b7fdd AP_HAL_F4Light: fixed OSD compilation issue 2018-03-04 21:08:59 +11:00
night-ghost 67a3afbbbd AP_HAL_F4Light: scripts to load & store EEPROM 2018-03-04 21:08:59 +11:00
night-ghost 99a3cd6de3 AP_HAL_F4light: two new boards: RevoMini with resoldered EEPROM and RevoMini with SD card adapter 2018-03-04 21:08:59 +11:00
Francisco Ferreira ee8adf9073
AP_BattMonitor: fix build 2018-03-03 18:05:24 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas 33288fa676 Plane: NFC adapt to new AP_Battery method name 2018-03-03 17:19:13 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas 03019918cc GCS_MAVLink: NFC adapt to new AP_Battery method name 2018-03-03 17:19:07 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas 3632cd7588 DataFlash: NFC adapt to new AP_Battery method name 2018-03-03 17:19:01 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas 7d8aeefee4 AP_Frsky_Telem: NFC adapt to new AP_Battery method name 2018-03-03 17:18:54 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas 6cbeb73d1b AP_BattMonitor: NFC rename functions and variables to match their functionality 2018-03-03 17:16:34 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas bc86ca0e3c Copter: simplify Log_Write_Proximity 2018-03-03 17:13:34 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas b0f22833f6 Copter: Add GRIPPER_ENABLED macro to user config file 2018-03-03 17:13:24 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas c1246c59e0 Copter: disable scheduler tasks for optional features 2018-03-03 17:10:34 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas bbd1aa1cab Copter: Improve interoperation of AC_AVOID_ENABLED and BEACON_ENABLED 2018-03-03 17:10:26 +00:00
Tom Pittenger 6820531e2a Plane: fixed error string spelling 2018-03-02 21:37:11 -08:00
Michael du Breuil faea5d285c Plane: Consolidate some of the PID logging details 2018-03-03 17:34:18 +12:00
Andrew Tridgell b6c0e65dee waf: set CYGWIN_BUILD on cygwin for px4
helps with missing/cmath
2018-03-03 13:35:39 +11:00
Andrew Tridgell 27e4953ad8 Plane: disable HIL on px4-v2
this saves enough flash for px4-v2 to fit again
2018-03-03 13:35:39 +11:00
Tom Pittenger 1ace5ac534 AP_UAVCAN: changed att and fix send timers to be 32bit 2018-03-03 12:59:14 +12:00
Tom Pittenger 1add05d9a1 AP_UAVCAN: reduce whitespace indentation 2018-03-03 12:59:14 +12:00
DOMINATOR\Eugene c49d4aef50 AP_UAVCAN: position and attitude broadcast 2018-03-03 12:59:14 +12:00
DOMINATOR\Eugene 2f7196d71f AP_AHRS: UAVCAN publishing of attitude and location 2018-03-03 12:59:14 +12:00
Andrew Tridgell c642deafde AP_Declination: updated tables for Feb 2018 2018-03-03 09:56:57 +11:00
Andrew Tridgell 444588aaef AP_Declination: added generation of field tables
we can re-generate with a python script. This also extends the tables
from -90 to +90 latitude
2018-03-03 09:56:57 +11:00
Andrew Tridgell 03b1fdca97 AP_Declination: split tables into a separate file
to make re-generation easier
2018-03-03 09:56:57 +11:00
Tom Pittenger b10aa2f58f AP_UAVCAN: minor optimization of LED driver 2018-03-03 10:40:26 +12:00
Nikita Tomilov 6ce6afa4be AP_Notify: enabling UAVCAN_RGB_LED for Linux Edge 2018-03-03 10:40:26 +12:00
Tom Pittenger f457dee568 AP_UAVCAN: rearranged some logic to be more efficient
rearranged some logic to be more efficient. Check array bounds and semiphore take status before doing any work that would otherwise been thrown away
2018-03-03 10:40:26 +12:00
Tom Pittenger 228058e089 AP_Notify: update some logic syntax
non-functional change, just the logic easier to read.
Converted
success = success || blah
to
success |= blah
2018-03-03 10:40:26 +12:00
Nikita Tomilov b5467bed7f AP_Notify: add new device UAVCAN_RGB_LED
This enables sending ArduPilot status color via UAVCAN bus.
2018-03-03 10:40:26 +12:00
Nikita Tomilov a1017fb815 AP_UAVCAN: utilizing equipment.indication.LightsCommand
This can be used to command multiple devices on the UAVCAN bus to
update their LEDs. This will come in handy for status outputs etc.

This utilizes equipment.indication.LightsCommand message.
This message is not so important and therefore we limit publishing
it to avoid bus overflow. The priority of the message is also low.
2018-03-03 10:40:26 +12:00
Andrew Tridgell 8ffc2aa6e6 waf: submodule update 2018-03-03 09:25:32 +11:00
Peter Barker 7308c9aa7b DataFlash: tighten types up to save flash space
Saves about 1,500 bytes!
2018-03-03 08:20:38 +11:00
Pierre Kancir 50c3ed1460 Copter : allow rc_override input at start
found by chobitsfan
2018-03-02 16:23:11 +00:00
Andrew Tridgell 961a97a8c9 HAL_ChibiOS: expand docs on STDOUT_SERIAL 2018-03-02 21:46:23 +11:00
Andrew Tridgell 0cd6c9e5fb HAL_ChibiOS: added commented block on enable debug for builds 2018-03-02 21:39:38 +11:00
Andrew Tridgell 556f3ba53f HAL_ChibiOS: make UARTs non-blocking by default
we never want blocking ports any more with ArduPilot, so defaulting to
blocking makes no sense
2018-03-02 21:39:38 +11:00
Andrew Tridgell 33dd14b8d9 HAL_ChibiOS: use PULLUP on UART TX/RX lines
this can prevent spurious bytes on disconnected pins
2018-03-02 21:39:38 +11:00
Andrew Tridgell 91c741ef07 HAL_ChibiOS: use a non-blocking lock for UART shared DMA
we can have multiple UARTs on the same thread sharing the same DMA TX
channel. That can lead to deadlock with blocking locks on DMA. This
makes UART requests for DMA locks non-blocking to fix the issue
2018-03-02 21:39:38 +11:00
Andrew Tridgell 76c76f61c0 git: change submodules to default to git protocol
this fixes submodule update on cygwin
2018-03-02 17:50:49 +11:00