Commit Graph

456 Commits

Author SHA1 Message Date
Andrew Tridgell 339d49d34a GCS_MAVLink: fixed corner case in MAVLink routing
when a GCS sends a command to a system ID that isn't our system ID,
the GCS may use a non-advertised component ID such as
MAV_COMP_ID_SYSTEM_CONTROL. Those packets should be fowarded to the
target system even though the target system has not specifically
advertised that target sysid/compid tuple.
2016-01-27 19:44:49 +09:00
Andrew Tridgell c268cea08f GCS_MAVLink: added severity to send_statustext_all() 2015-09-10 14:51:19 +09:00
Andrew Tridgell 55e6008e38 GCS_MAVLink: make send_statustext_all() take a format string
this allows for formatted messages to all groundstations in libraries
2015-09-10 14:51:13 +09:00
squilter d00f9b61b4 GCS_MAVLink: make arguments mandatory for send_autopilot_version 2015-08-28 12:04:12 +09:00
squilter 8553301cdd GCS_MAVLink: send_autopilot_version accepts version 2015-08-28 10:27:00 +09:00
Randy Mackay 7299011510 GCS_MAVLink: version update after common.xml change 2015-08-28 10:26:57 +09:00
squilter de712714ef GCS_MAVLink: regenerate common 2015-08-28 10:26:55 +09:00
Randy Mackay 730e4908a9 GCS_MAVLink: rename FIRMWARE_VERSION_TYPE and fully qualify items 2015-08-28 10:26:52 +09:00
squilter f3f11a4e96 GCS_MAVLink: Add FIRMWARE_RELEASE_TYPE to common.xml 2015-08-28 10:26:49 +09:00
Tom Pittenger 7b611f8e26 GCS_MAVLink: add support for try send mission_item_reached
also moved most of send_item_reached into common library
2015-08-19 20:44:57 +09:00
Brad Bosch 7bae269931 GCS_MAVLink: Pause to allow serial port to drain.
This avoids a race between the UART and the auto flow control code.
2015-08-19 20:44:52 +09:00
Lucas De Marchi 72391fddbe GCS_MAVLink: standardize inclusion of libaries headers
Do the missing header changes due to changing the code before the pr
getting accepted.
2015-08-19 20:44:46 +09:00
squilter e90d228138 GCS_MAVLink: version update after generate 2015-08-19 20:44:26 +09:00
squilter cf5005b95f GCS_MAVLink: generate after flight_termination change 2015-08-19 20:44:25 +09:00
squilter 487896c2c4 GCS_MAVLink: rename flighttermination capability enum 2015-08-19 20:44:24 +09:00
Andrew Tridgell 8efaa74b38 GCS_MAVLink: regenerate headers 2015-08-19 20:43:45 +09:00
Andrew Tridgell bfd409b465 GCS_MAVLink: added RPM MAVLink message 2015-08-19 20:43:44 +09:00
squilter e0baaa516a GCS_MAVLink: update common.h enum 2015-08-19 20:43:36 +09:00
squilter f4e2463edc Common: add 21196 for emergency disarm 2015-08-19 20:43:34 +09:00
squilter 4cf49b1f4e Common: add two new capabilities 2015-08-19 20:43:33 +09:00
Gustavo Jose de Sousa 8cf54e1e3c GCS_MAVLink: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-19 20:43:21 +09:00
Andrew Tridgell 347c436394 GCS_MAVLink: fixed bug setting parameters to default values
in copter if you try to set RATE_RLL_D to 0 when you haven't
prevviously changed it then it would set it, but would revert on the
next reboot. This is because of the special case handling of a set to
the "default" value. That default value is unaware of the PID
constructors

this fixes that behaviour by forcing a save if the parameter changes
value
2015-08-19 20:41:58 +09:00
Randy Mackay f08c34fe73 GCS_MAVLink: retrieve capabilities from HAL 2015-08-19 20:03:43 +09:00
squilter ad00e97447 GCS_MAVLink: add optional param to support capability bitmask 2015-08-19 20:03:40 +09:00
Andrew Tridgell 28bdeaf5d9 GCS_MAVLink: use a larger log send queue for Linux
often on UDP or TCP with more bandwidth
2015-08-19 20:03:18 +09:00
Randy Mackay e7df54ca75 GCS_MAVLink: static find_by_mavtype method 2015-07-25 10:53:03 +09:00
Randy Mackay e092902613 GCS_MAVLink: add find_by_mavtype 2015-07-25 10:52:59 +09:00
Arthur Benemann e3398648d7 GCS_MAVLink: fix debug formatting 2015-07-21 21:41:34 +09:00
Randy Mackay 521f3dc4b9 GCS_MAVLink: only forward msg once per channel
Issue found and alternative fix provided by Arthur Benemann
2015-07-21 21:41:32 +09:00
Randy Mackay a61129f7f8 GCS_MAVLink: add support for send_mission_item_reached 2015-07-19 12:14:09 +09:00
Andrew Tridgell 18de1c2c47 GCS_MAVLink: send AHRS2 even if we don't have a secondary position 2015-07-17 08:24:49 +10:00
Andrew Tridgell 0679552cf7 GCS_MAVLink: regenerate headers 2015-07-01 12:02:44 +10:00
Andrew Tridgell 44b7c75a4c GCS_MAVLink: merged upstream mag cal messages for APM 2015-07-01 12:00:23 +10:00
Andrew Tridgell de11b5394e GCS_MAVLink: support NSH shell with SERIAL_CONTROL 2015-06-17 20:30:10 +10:00
Andrew Tridgell a0594bd50e GCS_MAVLink: regenerate headers 2015-06-17 20:30:10 +10:00
Andrew Tridgell bdbe1a7553 GCS_MAVLink: added SERIAL_CONTROL_DEV_SHELL 2015-06-17 20:30:09 +10:00
Andrew Tridgell c415bfe766 GCS_MAVLink: regenerate headers 2015-06-15 09:20:54 +10:00
Andrew Tridgell 3ef44459c8 GCS_MAVLink: added ALTITUDE_WAIT message 2015-06-15 09:17:27 +10:00
Randy Mackay 69e59b2d99 GCS_MAVLink: update version after adding LANDING_TARGET 2015-06-12 21:37:09 +09:00
Randy Mackay 835a203566 GCS_MAVLink: generate after adding LANDING_TARGET 2015-06-12 21:37:07 +09:00
Randy Mackay 94aec19336 GCS_MAVLink: import LANDING_TARGET from upstream 2015-06-12 21:37:04 +09:00
Randy Mackay 76fdfdfcf2 GCS_MAVLink: do not send_vibration on APM2 2015-06-12 21:37:01 +09:00
Randy Mackay 642aa74530 GCS_MAVLink: add send_vibration 2015-06-12 21:36:42 +09:00
Randy Mackay 581e43bd0e GCS_MAVLink: update version after adding VIBRATION msg 2015-06-12 21:36:39 +09:00
Randy Mackay afbb670e73 GCS_MAVLink: generate after adding VIBRATION message 2015-06-12 21:36:36 +09:00
Randy Mackay e677a100c6 GCS_MAVLink: add VIBRATION message to common.xml 2015-06-12 21:36:34 +09:00
Andrew Tridgell 3b48f68cce GCS_MAVLink: convert example from .pde to .cpp 2015-06-01 17:07:07 +10:00
Andrew Tridgell f50ee4c44c GCS_MAVLink: all vehicles now use functors 2015-06-01 15:18:33 +10:00
Andrew Tridgell a57889e3b0 GCS_MAVLink: re-generate headers 2015-05-27 14:28:49 +10:00
Andrew Tridgell 0ed7fda41d GCS_MAVLink: added ACCZ and STEER PID_TUNING axes 2015-05-27 14:28:49 +10:00