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
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
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
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.
11 years ago
Bryant Mairs
c4db113de3
Renamed getNominalDataRate to getConnectionSpeed. Also added upstream/downstream data rate functions to all Link classes.
11 years ago
Bryant Mairs
144ef96579
Removed various bits of dead code.
11 years ago
Bryant Mairs
0fe7fa8da6
Refactor data rate calculations in DebugConsole.
...
Simplify calculations by assuming we only care about rates in kB/s.
11 years ago
Bryant Mairs
56da98ee48
Added a downstream text label to the debug console.
11 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
Don Gagne
a389160c4d
Make qgroundcontrol.pri agnostic to app name
...
Use TARGET instead of hardcoded qgroundcontrol.app name. This allows
this file to build unit test app as well as qgroundcontrol app.
12 years ago
Don Gagne
6ca4d234d6
Fix AutoTest build breaks
12 years ago
Don Gagne
5a50e9c9b4
Comment change
12 years ago
Don Gagne
60a06d6abd
Merge branch 'UnitTestFixes' of https://github.com/DonLakeFlyer/qgroundcontrol into UnitTestFixes
...
Conflicts:
qgroundcontrol.pri
12 years ago
Lorenz Meier
7d136acad1
Merge pull request #429 from DonLakeFlyer/LinuxWindowsFixes
...
Linux APM Toolbar broken, Windows build broken
12 years ago
Don Gagne
4a91f435f4
Windows build required atlbase.h
...
While testing the previous commit on Windows I found that I could not
compile windows due to include of atlbase.h. This file is no longer
available in SDKs. It is only available in for money versions of VIsual
Studio. Luckily this include was not needed. So I just removed it and
Windows now builds again with just VS Express. Tested all changes on
OSX, Linux and Windows (including speech on windows, which still works).
12 years ago
Anton Babushkin
b9d8484fbe
Altitude splitted to altitudeAMSL and altitudeRelative, speed splitted to airSpeed and groundSpeed. PrimaryFlightDisplay uses airSpeed for FW and groundSpeed for MC.
12 years ago
Don Gagne
44cb715f84
Use same resource file list between builds
...
Linux build was broken due to the fact that it wasn’t copying qml
files. With each build flavor having it’s own seperate copy code it was
easy for these to get out of sync. Centralized the copy list so that it
remains in sync across flavors.
12 years ago
Lorenz Meier
d2ede70558
Merge pull request #426 from thomasgubler/fix_type_compile_error
...
change type of port from uint16_t to quint16
12 years ago