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
Randy Mackay
47c135c4e1
GCS_MAVLink: add comments around checking target
11 years ago
Andrew Tridgell
6b893a5865
GCS_MAVLink: slow down parameter send a lot with no flow control
11 years ago
Randy Mackay
de747d215a
Revert "GCS_MAVLink: send radio_in using rcmap"
...
This reverts commit 0881ccbee0
.
11 years ago
Randy Mackay
0881ccbee0
GCS_MAVLink: send radio_in using rcmap
11 years ago
Andrew Tridgell
9a1bac06d4
GCS_MAVLink: added send_battery2()
11 years ago
Andrew Tridgell
f49258eb31
GCS_MAVLink: added send_statustext_all() method
...
used for sending text messages from libraries
11 years ago
Andrew Tridgell
786661ca2b
GCS_MAVLink: better handling of high severity STATUSTEXT messages
11 years ago
Andrew Tridgell
a21998aece
GCS_MAVLink: prevent integer underflow with comm_get_txspace()
11 years ago
Andrew Tridgell
3020d91dcd
GCS_MAVLink: keep a bitmap of what mavlink channels are active
...
- this will allow for looping over active channels in libraries
- expose active channel mask
11 years ago
Andrew Tridgell
ddb030088d
GCS_Mavlink: moved some more mavlink functions to GCS_Common.cpp
11 years ago
Randy Mackay
9103899048
GCS_Common: minor typo in comments
11 years ago
Andrew Tridgell
544d872d65
GCS_MAVLink: fixed a shadowed variable
11 years ago
Andrew Tridgell
bcb3d1af14
GCS_MAVLink: fixed flymaple build
...
has dual GPS but no RTK support
11 years ago
Niels Joubert
baf0697f48
GCS_MAVLink: Add support for GPS_RTK messages
11 years ago
Andrew Tridgell
0b6407256c
GCS_MAVLink: moved 3 more send_*() functions to GCS_Common.cpp
11 years ago
Andrew Tridgell
63da53c842
GCS_MAVLink: moved main update() routine into GCS_Common.cpp
...
this fixes a common timeout error with loading large missions, and
means less per-vehicle code
11 years ago
Andrew Tridgell
49e7ee9ba7
GCS_MAVLink: added setup_uart() method
...
this provides a common way of dealing with UART setup for a GCS
instance. It includes code to cope with SiK radios stuck in bootloader
mode.
11 years ago
Andrew Tridgell
cf9b67d8fc
GCS_MAVLink: prevent uninitialised bytes being written to a serial port
11 years ago
Andrew Tridgell
f05b90bfd2
GCS_MAVLink: fixed some compiler warnings
11 years ago
Randy Mackay
3efad982c0
GCS_Mavlink: return MISSION_INVALID when conversion fails
...
Requested by MichaelO to allow better error message to be displayed to
user when the mission upload from the GCS to vehicle fails
11 years ago
Andrew Tridgell
8af9573806
GCS_MAVLink: allow logging of RADIO_STATUS, very useful for link analysis
11 years ago