Don Gagne
7b5ffc31cd
Cleanup of TCPLink from unit test findings
11 years ago
Don Gagne
b2331bdff3
Unit test for TCPLInk
11 years ago
Don Gagne
05d02404e8
Added MultiSignalSpy
...
Allows for testing of existence of lack of existence of signals coming
out of an object.
11 years ago
Lorenz Meier
9d42f68034
Merge pull request #450 from DonLakeFlyer/UnitTestMocks
...
Unit test mocks
11 years ago
Don Gagne
ac6e12a10a
Whitespace fix
11 years ago
Don Gagne
af676062f1
Added/fixed license headers plus a tab
11 years ago
Don Gagne
761fef9548
Cleanup of TCPLink from unit test findings
11 years ago
Don Gagne
b412d82642
Unit test for TCPLInk
11 years ago
Don Gagne
832c1ad988
Added MultiSignalSpy
...
Allows for testing of existence of lack of existence of signals coming
out of an object.
11 years ago
Lorenz Meier
99c1affbbb
Added 3DR Skywalker
11 years ago
Lorenz Meier
6a48cef37d
Cleaned up PX4 autostart, made indices consistent and added new configs
11 years ago
Don Gagne
36fafeec1c
Mock implementations of UAS, UASManager and QGCUASParamManger
...
Used for unit testing
11 years ago
Don Gagne
190b1d8a46
Modify consumers of UASManager and QGCUASParamManager to use new interfaces
11 years ago
Don Gagne
b42a36a866
Create base interface for UASManager and QGCUASParamManager
...
This allows us to create mock version of the objects to use for unit
tests
11 years ago
Lorenz Meier
f566744a2d
Added missing include dir
11 years ago
Thomas Gubler
7af96b2724
sorted parameters: make search more efficient
11 years ago
Thomas Gubler
61d4bc1c70
sorted parameters: use QString::compare instead of strcmp
11 years ago
Lorenz Meier
f029110b38
Merge pull request #443 from DonLakeFlyer/UnitTest
...
Unit test changes
11 years ago
Don Gagne
f83b8b1002
Fixed broken Unit Test
11 years ago
Don Gagne
b82ed5c525
Allow AutoTests to bring up UI
...
I have UI based unit tests coming, so getting ready for that
11 years ago
Don Gagne
a45a5756f1
AutoTest runner is now part of main
11 years ago
Don Gagne
0526d3be12
Unit Tests are now part of main build
...
- debug builds always compile unit tests in
- seperate qgcunittest.pro is no longer needed
- found out the hard way that you can’t use debug or release as a
scope. You need to use the CONFIG(debug,debug|relase) macro (in this
example to test fro debug). Reason is that debug and release show up
multiple times in CONFIG, last debug wins. This is what the CONFIG
macro does. Without it, it’s luck as to what you get. I found OSX was
getting debug, Linux was getting a debug build, build into release
directories. QT_DEBUG set randomly. Lot’s of problems.
11 years ago
Lorenz Meier
e59fa1557b
Merge pull request #439 from Susurrus/simpleCheckRates
...
Add data rate calculations for all LinkInterface-derived classes
11 years ago
Lorenz Meier
a7ffa8a814
Merge pull request #440 from thomasgubler/eclipse_gitignore
...
add eclipse settings folder to gitignore file
11 years ago
Lorenz Meier
87294969c6
Merge pull request #442 from DonLakeFlyer/BrokenWindowsBuild
...
Fix broken Windows build
11 years ago
Don Gagne
33242c7011
Fix broken Windows build
...
- NAN not available in windows headers, use cross platform friendly
version
- VS compiler does not allow initializing non-integral types in header
files
- ActiveQt libs are already installed by Win Qt4.8.5, no need to build.
Plus this part of the makefile just loops without nmake.exe installed
which is not part of a standard windows box
11 years ago
Thomas Gubler
defcc17093
alphabetical parameters: use strcmp which gives better results with underscores
11 years ago
Thomas Gubler
a85e363153
display parameters in alphabetical order
11 years ago
Thomas Gubler
f158d7d687
add eclipse settings folder to gitignore file
11 years ago
Bryant Mairs
0558263616
Converted LinkInterface from a pure-virtual interface into an abstract base class. This centralized the data rate calculation code for all subclasses. Also added the necessary code to provide upstream/downstream data rate calculations for all LinkInterface-derived classes.
11 years ago
Bryant Mairs
f80968c575
Removed some unused debugging code from QGCXPlaneLink.
11 years ago
Lorenz Meier
4c76e1f8c0
Merge pull request #438 from DonLakeFlyer/OSGOptional
...
Remove hardwired inclusion of OSG
11 years ago
Don Gagne
26b50767bd
Remove hardwired inclusion of OSG
...
The remainder of .pro and .pri files have conditional inclusion of
OpenSceneGraph bases on availability. Removed this line which always
includes it and overrides the conditional include which is already in
other parts of the make files.
11 years ago
Lorenz Meier
6caef01204
Merge pull request #437 from Susurrus/simpleCheckRates
...
Add display of the upstream data rate to the Debug Console
11 years ago
Bryant Mairs
03e904d567
Moved configuration constants in DebugConsole to proper static const types.
11 years ago
Bryant Mairs
2955d35297
Don't update the ConsoleDebug data rates UI if no link exists (like on startup).
11 years ago
Bryant Mairs
16e8aab2f2
Add display of the outgoing data rate to the debug console widget.
12 years ago
Bryant Mairs
c4db113de3
Renamed getNominalDataRate to getConnectionSpeed. Also added upstream/downstream data rate functions to all Link classes.
12 years ago
Bryant Mairs
144ef96579
Removed various bits of dead code.
12 years ago
Bryant Mairs
0fe7fa8da6
Refactor data rate calculations in DebugConsole.
...
Simplify calculations by assuming we only care about rates in kB/s.
12 years ago
Bryant Mairs
56da98ee48
Added a downstream text label to the debug console.
12 years ago
Lorenz Meier
17883dbb96
Merge pull request #428 from DrTon/alt_speed_fix
...
Altitude and speed rewrite
12 years ago
Anton Babushkin
fd497bc65a
Merge branch 'master' into alt_speed_fix
12 years ago
Lorenz Meier
9dea5ac9f4
Merge pull request #423 from DonLakeFlyer/LinkInterfaceCleanup
...
Removed LinkInterface methods which were never being called. Updated var...
12 years ago
Lorenz Meier
651fdd2698
Merge pull request #430 from DonLakeFlyer/UnitTestFixes
...
Unit Tests would not compile, once they compiled, they didn't work correctly, once working correctly they found a couple bugs
12 years ago
Lorenz Meier
bcff0d5251
Merge pull request #434 from Susurrus/exposeSysTime
...
Expose SYSTEM_TIME message to QGC
12 years ago
Bryant
cf17ec0ed9
Merge branch 'master' of https://github.com/mavlink/qgroundcontrol into exposeSysTime
12 years ago
Bryant
112d89ffdb
Expose the SYSTEM_TIME message to the rest of QGC.
12 years ago
Don Gagne
b588e69e24
Can't spell
12 years ago
Don Gagne
ddb4f8775d
Fixed UnitTest code and bugs found by unit tests
12 years ago