Gustavo Jose de Sousa
f0dee75ab3
GCS_MAVLink: use compass get_{field,offsets}() functions
...
Both functions are equivalent, so we're going to simply use
get_{field,offsets}() instead of get_{field,offsets}_milligauss().
9 years ago
Randy Mackay
d3066fcdad
GCS_MAVLink: send compass vector to GCS in milligauss
9 years ago
Randy Mackay
9b96a2c385
GCS_MAVLink: send_home and send_home_all methods
9 years ago
Andrew Tridgell
7a3b59652f
GCS_MAVLink: show EKF2 status via AHRS3 message
10 years ago
Andrew Tridgell
5aa54be718
GCS_MAVLink: send SCALED_PRESSURE3 for 3 baros
10 years ago
Andrew Tridgell
bc4d37c91e
GCS_MAVLink: added severity to send_statustext_all()
10 years ago
Andrew Tridgell
f3e8819d1e
GCS_MAVLink: make send_statustext_all() take a format string
...
this allows for formatted messages to all groundstations in libraries
10 years ago
squilter
426dab5078
GCS_MAVLink: update severities and remove old enum
10 years ago
squilter
9d3a906602
GCS_Common: accept any type of severity, not just the old enum
10 years ago
squilter
fb1bb3f571
GCS_MAVLink: make arguments mandatory for send_autopilot_version
10 years ago
squilter
c4c63da163
GCS_MAVLink: send_autopilot_version accepts version
10 years ago
Tom Pittenger
1dd8b9d363
GCS_MAVLink: add support for try send mission_item_reached
...
also moved most of send_item_reached into common library
10 years ago
Brad Bosch
c87a7c7df9
GCS_MAVLink: Pause to allow serial port to drain.
...
This avoids a race between the UART and the auto flow control code.
10 years ago
Gustavo Jose de Sousa
d7a2ef3e35
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.
10 years ago
Andrew Tridgell
9352f05133
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
10 years ago
Randy Mackay
d0aa1a89cd
GCS_MAVLink: retrieve capabilities from HAL
10 years ago
squilter
c946ce72e8
GCS_MAVLink: add optional param to support capability bitmask
10 years ago
Randy Mackay
a61129f7f8
GCS_MAVLink: add support for send_mission_item_reached
10 years ago
Andrew Tridgell
18de1c2c47
GCS_MAVLink: send AHRS2 even if we don't have a secondary position
10 years ago
Randy Mackay
76fdfdfcf2
GCS_MAVLink: do not send_vibration on APM2
10 years ago
Randy Mackay
642aa74530
GCS_MAVLink: add send_vibration
10 years ago
Lucas De Marchi
82d22992bd
GCS_MAVLink: Do not compare delegate to NULL
...
Use the simpler "if (delegate_name)" since it allows simpler
implementation in the class, i.e. the bool operator rather than having
to compare to another object.
10 years ago
Andrew Tridgell
71b550d7b5
GCS_MAVLink: support member functions for rover
10 years ago
Randy Mackay
559684b257
GCS_MAVLink: fix flow control check
...
Thanks to Tridge for spotting is
10 years ago
Randy Mackay
85eeba93c0
GCS_MAVLink: mavlink_comm_port to array
10 years ago
Randy Mackay
62e7e8cc7d
GCS_MAVLink: add support for 4th mavlink chan on PX4
10 years ago
Tom Pittenger
d94c95a6ef
GCS_MAVLink: return true if mission recieve is complete
...
when handing a mission item, and that is the last item, return true so that whoever is handling this knows we have a new mission list. From here we can log a new mission
10 years ago
Niels Joubert
2a5b25ddbf
GCS_MAVLink: Re-enable GPS Injection Packets
10 years ago
Mike Clement
c5c40adb76
GCS_MAVLink: use instance in find_baudrate
10 years ago
Andrew Tridgell
6e52ef2a74
GCS_MAVLink: added send_local_position()
10 years ago
Andrew Tridgell
82a51e8791
GCS_MAVLink: use AP_Param::set_param_by_name()
10 years ago
Randy Mackay
d738eda59d
GCS_MAVLink: integrate Serial Manager instance
10 years ago
Andrew Tridgell
58c92b0158
GCS_MAVLink: added SCALED_IMU3 logging
10 years ago
Andrew Tridgell
8cfe8c5823
GCS_MAVLink: moved send_autopilot_version() to common code
10 years ago
Andrew Tridgell
7a5ec6d75b
GCS_MAVLink: allow use of RC_CHANNELS message on AVR too
...
can have up to 11 channels
10 years ago
Andrew Tridgell
35c14c787e
GCS_MAVLink: added handle_gimbal_report() function
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
10 years ago
Andrew Tridgell
59d5351dab
GCS_MAVLink: update for new find_serial()
10 years ago
Randy Mackay
1275ff7d40
GCS_MAVLink: have_flow_control uses mavlink_comm
10 years ago
Randy Mackay
febda988af
GCS_MAVLink: mavlink_channel from SerialManager
10 years ago
Randy Mackay
c6326fc9b7
GCS_MAVLink: use SerialManager for setup_uart
10 years ago
Andrew Tridgell
b1342c2d39
GCS_MAVLink: send SCALED_PRESSURE2 if available
10 years ago
Andrew Tridgell
d25bd8955d
GCS_MAVLINK: move send_opticalflow() into common library
10 years ago
Randy Mackay
cf36fd55bd
GCS_MAVlink: correct sending of 2nd battery's voltage
10 years ago
Andrew Tridgell
b5a5b71512
GCS_MAVLink: reverse sense of check_and_forward()
...
also increase number of routes on larger systems and improved route
learning logic
10 years ago
Andrew Tridgell
079158d4b8
GCS_MAVLink: strip out the old GCS_Class class
...
this is not longer needed as we don't support multiple protocol
classes
10 years ago
Andrew Tridgell
f198cdcf20
GCS_MAVLink: added support for a MAVLink snoop function
...
this can be used to watch messages for different targets
10 years ago
Andrew Tridgell
f1edd1bafb
GCS_MAVLink: removed use of mavlink_check_target()
...
not needed now we do routing properly, as messages will only be
processed if they are for us
10 years ago
Andrew Tridgell
aa88ba4158
GCS_MAVLink: only call message handler for our own messages
10 years ago
Andrew Tridgell
c750cbebfb
GCS_MAVLink: prevent asan errors in send_text_all
10 years ago
Andrew Tridgell
60aa017e11
GCS_MAVLink: added handle_set_mode() function
11 years ago