Daniel Agar
d8b6f37eb4
cmake create comm library in src/comm
7 years ago
Don Gagne
b974f35011
Support parameters from multiple components
7 years ago
Don Gagne
4dd7f248e4
Support new ArduPilot bootloader PID/VIDs
7 years ago
Patrick José Pereira
7588454516
comm: Move to pragma once
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Gus Grubba
c5b77b180a
Fix annoying Android warnings.
7 years ago
Patrick José Pereira
e0ac5067d7
MavLinkProtocol: Fix constructor warnings
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Don Gagne
c7b1880c42
Us MAV_COMP_ID_AUTOPILOT1 instead of MAV_COMP_ID_MISSIONPLANNER
7 years ago
Patrick José Pereira
402add8317
comm: Avoid QString initialization of empty string
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Patrick José Pereira
7af7993d4b
comm: Use QString::arg with multiple QString parameters
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Patrick José Pereira
337c19bb89
comm: Remove unused variables
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Patrick José Pereira
dbec9e9879
comm: Change from foreach to c++11 for
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Patrick José Pereira
7a7b7cfb1b
Move from Q_ENUMS to Q_ENUM
...
Q_ENUMS is deprecated and should not be usued.
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Daniel Agar
d591d86f9c
initial optional cmake support ( #6862 )
7 years ago
Gus Grubba
dd747599de
Just compute total sent on the fly rather then keeping a running count.
7 years ago
Gus Grubba
b5f30ae40b
MAVLink message receive status
...
Fixed the core MAVLink receiver. Among other things, it wasn't accounting for fragmented messages.
Fixed code that monitors messages received (and lost)
Added a section within the MAVLink panel to show the current status (for the current vehicle)
Remove some old, unused exposed interfaces
7 years ago
Beat Küng
08dcb7e0e8
USBBoardInfo.json: add U-Blox F9P USB device
7 years ago
Don Gagne
e78f74f6d5
Back up further from end of file to handle more cases
7 years ago
Don Gagne
3f2f847611
ArduPilot ChibiOS support
7 years ago
Beat Küng
b5ab11f761
RTK GPS: add Trimble MB-Two support
7 years ago
Gus Grubba
d977e09059
Add auto connect support for the PX4 NXPHlite v3.x
7 years ago
Vavooon
827d86a05d
Update hosts list on UDP Configuration creation
7 years ago
acfloria
d4124c20bc
Use any mavlink message instead of only the heartbeat to determine if the link is active
7 years ago
DonLakeFlyer
bc829486ea
Fix vehicle shutdown crash
7 years ago
Philipp Oettershagen
be9d92d04d
HIL (X-Plane): Allow to control aircraft flaps in XPlane
7 years ago
acfloria
c89404d921
Split constructor of HeartbeatTimer up in two functions
...
Previously the first activeChanged signal got lost because it was not connected yet to the LinkInterface which resulted in a link incorrectly shown as inactive.
7 years ago
DonLakeFlyer
ade447b82f
Fix compiler warning
7 years ago
DonLakeFlyer
82a340f7a2
Remove unused code
7 years ago
DonLakeFlyer
f0eb00298c
Identify PX4 Flow from board id
7 years ago
acfloria
317fe902f2
Remove the advanced link settings
...
Show the link indicator in the tool bar if two or more links are connected and at least one of them is a high latency link.
Show in the link indicator if a link is inactive.
7 years ago
acfloria
7c89c4ac05
Multi link support clean up
...
- Improve function names
- For notifications of an active link change only show the priority keyword if multiple links are connected
- Use QMap instead of QList for the HeartbeatTimers
- Style improvements
- Simplify sending the MAV_CMD_CONTROL_HIGH_LATENCY command
7 years ago
acfloria
66fcbc2a2d
Allow tracking multiple heartbeats for a single link
...
Add the HeartbeatTimer class to track a single heartbeat for a single link.
For every new received heartbeat an instance of the class is created.
Every instance emits a signal if it timed out or the timer is restarted.
Each vehicle then decides based on all different signals which link is the
priority link.
7 years ago
acfloria
1e77e29513
Use again the heartbeat instead of bytes received to determine if a link is active
7 years ago
acfloria
dd28d2a35f
Fix QTimer issue and send command on high latency link change
7 years ago
acfloria
f4b037296f
Use name instead of portName in getName of the SerialLink
7 years ago
acfloria
ee61860368
Save and load high latency property to/from link configurations
7 years ago
acfloria
321fae7f31
Update active property for each link separately
...
Each link updates the active property based on incoming bytes.
The vehicle tracks the active property of each link and in case of an inactive priority link it updates the priority link.
7 years ago
DonLakeFlyer
9298783944
Remove debug logging
7 years ago
DonLakeFlyer
0114a391b7
Slightly better Log Replay
7 years ago
Patrick José Pereira
57e0e1fc1a
BluetoothLink: Move _device to initialization list
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Patrick José Pereira
5c24a2ec43
QGCFlightGearLink: correct if-if else logic
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Beat Küng
2d06fbae89
USBBoardInfo.json: add Omnibus F4 SD
7 years ago
Gus Grubba
50f7674b2f
Fixed wrong logic when testing _socket for wrtites. It was never writing (sending anything).
...
Work around a new Windows issue where the call to list the local network interfaces takes for freaking ever to return, blocking the UDP thread altogether.
7 years ago
DonLakeFlyer
a76dd63b1e
Merge conflict fix
7 years ago
DonLakeFlyer
ed2f294c69
Better guarding against crashes
7 years ago
DonLakeFlyer
5d26256ca9
Tolerance based terrain follow
7 years ago
DonLakeFlyer
b3e6246fc1
Support remainder of HIGH_LATENCY2 fields
7 years ago
Gus Grubba
d77583a0a9
Bring in UDP fixes from master
7 years ago
Gus Grubba
16cf182630
Fix typo and use Qt's builtin vector deleteAll to clear lists.
7 years ago
Gus Grubba
faee40e0fa
UDP link fixes
...
Maintain a list of address/port pairs instead of a address/port map.
7 years ago
acfloria
1da3440259
Add highLatency property to LinkConfiguration
7 years ago