dogmaphobic
5feeb51704
Forgot to bump config version number.
...
Removed redundant counter while at it.
10 years ago
dogmaphobic
9315bf5fc5
Link Management Work
10 years ago
Don Gagne
a534122295
Should not be calling disconnect directly
10 years ago
Don Gagne
b88cd44d55
Reset mavlink channel before we use it
10 years ago
Don Gagne
4f5984b38f
Remove link ids and add link mavlink channel
...
Link ids were being used interchangeably with the mavlink channel for
the link. Link ids handed out as a numerically increasing integer. Once
the counter went past MAVLINK_COMM_NUM_BUFFERS all hell would break
loose and cause memory corruption.
10 years ago
Don Gagne
1d737cb876
Fixed unused variable warnings
10 years ago
Don Gagne
784b87091f
Use QSharedPointer for cross-thread Link references
...
Also many LinkManager API changes to further isolate all link
management inside LinkManager.
10 years ago
dogmaphobic
d89faafad8
Using full port name (/dev/tty.xxx) as using the short name no longer works.
...
Changed settings version as the link configurations must be redone (with the new port names)
10 years ago
dogmaphobic
5fe34d0b1f
Cleaning dangling links
10 years ago
dogmaphobic
e8a2f0736e
Adding TCP to the Link Configuration Manager
10 years ago
dogmaphobic
e4dcf8fe48
Argh... Forgot to test release after adding Mock Link.
10 years ago
dogmaphobic
0a31331428
The ultimate goal is to plug a device, set it up and go fly it without any fuss.
...
The goal of this first installment is to organize the code a bit so it's more readable,
clean up a bit of left over cruft, and manage link configurations (and links in general).
10 years ago
Don Gagne
c81927fae7
Rework Connect toolbar button usage
...
Now works for more than Serial links
10 years ago
Don Gagne
d3ad49f3d5
Moving more things off of MainWindow
...
Moving methods from MainWindow to QGCApplication so that more things
can run without a window. Helpful for testing.
10 years ago
Don Gagne
fc493d75c1
Move UAS and MAVLinkProtocol back to main thread
...
Plus a large number of other changes to allow for orderly shutdown of
objects without crashes or asserts. This is need for unit tests to
create/delete global state around every test.
11 years ago
Don Gagne
7ffa27f86a
New Singleton Manager
11 years ago
Don Gagne
58eef4b27d
Fix create/destroy ordering problems between LinkManager and MAVLinkProtocol
11 years ago
Don Gagne
42351ee00b
Restructure LinkManager/MAVLinkProtocol
11 years ago
Don Gagne
9877156191
Fix LinkManager bugs found by unit test
...
Largest change is that once a link is added to LinkManager it maintains
ownership and is responsible for delete. If you need to delete a link
use LinkManager::delete. Also added guard code to assert if a Link is
deleted outside of LinkManager.
11 years ago
Don Gagne
55bc70ffba
Fix LinkManager link removal
11 years ago
Don Gagne
d2923d8ee0
Track Singletons in QGCApplication
...
- allow unit tests to use QGCApplication
- clear global singletons for each unit test run
11 years ago
Don Gagne
db7b86fbbe
Use new QGCMessageBox apis
...
Subclass of QMessageBox which re-implements the static public
functions. There are two reasons for this:
1) The QMessageBox implementation on OSX does now show the title
string. This leads to message boxes which don't make much sense. So on
OSX we set title to text and text to informative text.
2) If parent is NULL, we set parent to MainWindow::instance. This
prevents message boxes which can go behind MainWindow
11 years ago
Don Gagne
ba0ef0a043
Can't use interface as variable on Windows
11 years ago
Don Gagne
f65c0a5797
Link connect/disconnect only through LinkManager
...
Centralize all connecting and disconnecting of links through
LinkManager::[Connect|Disconnect]Link api. Connect/Disconnect no longer
allowed through LinkInterface. This allows creation of new
LinkManager::setConnections[Suspended|Allowed] methods to disallow
connections as needed.
11 years ago
Lorenz Meier
734a145cf5
LinkManager: Use proper multithreading design pattern
11 years ago
Lorenz Meier
d95cf00399
Serial link selection in toolbar operational
12 years ago
Bryant
d0af5b03bd
Changed many functions in the abstract *Link classes to be const. This facilitates setting other functions as const. The metadata for specific links are reset when the links are added.
12 years ago
Bryant
6f98185c3e
The details on the success/errors for the MAVLink protocols are now shown for each link as tooltips that are updated every 5s. Values are currently wrong and unsure why as of yet.
12 years ago
Bryant
7095cf2824
Changed many functions in the abstract *Link classes to be const. This facilitates setting other functions as const. The metadata for specific links are reset when the links are added.
12 years ago
Bryant
f0a5118e1e
The details on the success/errors for the MAVLink protocols are now shown for each link as tooltips that are updated every 5s. Values are currently wrong and unsure why as of yet.
12 years ago
Lorenz Meier
2e625497ec
Simplified link creation / connection a bit
12 years ago
Lorenz Meier
e784c17ea1
Ask mavlink app to start on PX4 boards if connected via NSH
12 years ago
Lorenz Meier
a9a7dc9f27
Minor cleanups
13 years ago
James Goppert
18d74deb3a
K/R formatting, debugging serialport.
14 years ago
pixhawk
8e3ebca8d8
Bugfixed log replaying, still working on it
14 years ago
lm
fd6c038e61
Cleaned up serial link handling, eliminated double menu entries and safeguarded the link list. Did intentionally not improve the object dependency issue, will work on that on a global scope
14 years ago
lm
15a1509874
Significantly bugfixed persistence and link adding/removal. Not yet fully there, but getting closer to release
15 years ago
Brandon Wampler
13a505117b
implemented delete for communication links
15 years ago
lm
e68fc328b3
Added remote widget, commented code
15 years ago
pixhawk
1d86c8ac85
Cleaned up communication structure significantly, should now be easier to add new links. Signal bytesReceived(link, QByteArray) is now only way to pass on newly received data
15 years ago
pixhawk
d7ef3dc06c
Made generator --pedantic GCC flag compatible/C89 compatible, fixed a bug where heartbeats where only sent to first link
15 years ago
pixhawk
4fa6562e5c
Initial import
15 years ago