Koen Kooi
0c66e26a1d
fix qmin/qmax types
...
qreal is a double on some platforms (x86) and a float on others (e.g. ARM), cast it to fix build errors like these:
src/ui/designer/QGCXYPlot.cc: In member function 'int
XYPlotCurve::appendData(const QPointF&)':
src/ui/designer/QGCXYPlot.cc:41:39: error: no matching function for call
to 'qMin(double&, qreal)'
xmin = qMin(xmin, data.x());
^
src/ui/designer/QGCXYPlot.cc:41:39: note: candidate is:
In file included from
/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/sama5d3_xplained/usr/include/qt4/QtCore/qnamespace.h:45:0,
from
/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/sama5d3_xplained/usr/include/qt4/QtCore/qobjectdefs.h:45,
from
/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/sama5d3_xplained/usr/include/qt4/QtGui/qwindowdefs.h:45,
from
/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/sama5d3_xplained/usr/include/qt4/QtGui/qwidget.h:46,
from
/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/sama5d3_xplained/usr/include/qt4/QtGui/qdockwidget.h:45,
from
/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/sama5d3_xplained/usr/include/qt4/QtGui/QDockWidget:1,
from src/ui/designer/QGCXYPlot.cc:1:
/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/sama5d3_xplained/usr/include/qt4/QtCore/qglobal.h:1213:34:
note: template<class T> const T& qMin(const T&, const T&)
Q_DECL_CONSTEXPR inline const T &qMin(const T &a, const T &b) { return
(a < b) ? a : b; }
^
See http://www.qtcentre.org/archive/index.php/t-45475.html for some
background.
This fixes #625
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
11 years ago
Lorenz Meier
c96b13592d
Follow through with mission to loiter switch renaming
11 years ago
Lorenz Meier
b5920a35fc
Speed up battery lowpass
11 years ago
Lorenz Meier
68e181e34a
Merge branch 'thread_test' of github.com:mavlink/qgroundcontrol into thread_test
11 years ago
Lorenz Meier
c91db97432
Add more realistic baro offset
11 years ago
Lorenz Meier
754a3a55ee
Merge branch 'master' of github.com:mavlink/qgroundcontrol into thread_test
11 years ago
Lorenz Meier
28afd9dcc2
Merge branch 'thread_test' of github.com:mavlink/qgroundcontrol into thread_test
11 years ago
Lorenz Meier
adb7541f33
Merge branch 'master' of github.com:mavlink/qgroundcontrol into thread_test
11 years ago
Lorenz Meier
de38e49b0d
Merge pull request #623 from julianoes/hil_cmds
...
include HIL bit, this makes HIL without RC working again
11 years ago
Julian Oes
144dcddd61
set correct HIL bit, starting and stopping HIL works now as well
11 years ago
Julian Oes
bd0d364d63
Revert "include HIL bit, this makes HIL without RC working again"
...
This reverts commit af0589b2f1
.
11 years ago
Julian Oes
af0589b2f1
include HIL bit, this makes HIL without RC working again
11 years ago
Lorenz Meier
77d885124a
Change all data types to ones that Qt can buffer between threads
11 years ago
Lorenz Meier
4676ee8522
Bump serial link thread priority
11 years ago
Lorenz Meier
19eb13dc76
Proper multithreading on all comm threads
11 years ago
Lorenz Meier
85a1e606a8
proper spinning loop
11 years ago
Lorenz Meier
f741140ad5
Fix execution context of thread routines - note that this is not quite the architecture the Qt folks intended, but as they admit its the consequence of their architecture.
11 years ago
Don Gagne
113ee26183
Merge pull request #611 from DonLakeFlyer/WindowsSetup2
...
Fix Windows installs
11 years ago
Don Gagne
33e7019731
Merge branch 'WindowsSetup2' of https://github.com/DonLakeFlyer/qgroundcontrol into WindowsSetup2
11 years ago
Don Gagne
22e10b7edf
Recent mavlink update is causing C4005 errors on Windows
...
Ignoring for now and I’ll work on fix in a separate pull.
11 years ago
Don Gagne
96d9cad7e2
Fix Windows installs
...
Files were not being copied to correct location
11 years ago
Don Gagne
96a213e6b5
Merge pull request #619 from DonLakeFlyer/MacReadme
...
Mavericks readme
11 years ago
Don Gagne
3a373ac352
Mavericks readme
11 years ago
Lorenz Meier
0cdcad1a4a
Bugfix for verify for rev 4 bootloaders
11 years ago
Lorenz Meier
86d211ee63
Merge pull request #616 from gefink/master
...
Mavlink Inspector array bug
11 years ago
Geoff Fink
ef33588a51
Mavlink Inspector array bug
11 years ago
Lorenz Meier
4ac07c371a
Updated MAVLink to the newest revision, no functional changes
11 years ago
Lorenz Meier
93679e5741
Added Sky Hunter config
11 years ago
Lorenz Meier
ac3a3c736f
Merge branch 'no_portconfig' of github.com:mavlink/qgroundcontrol
11 years ago
Don Gagne
7f893689df
Merge pull request #608 from vooon/fix-error-603
...
Fix bug #603 save INT8/UINT8 parameters to file
11 years ago
Don Gagne
bd31cfb23b
Fix Windows installs
...
Files were not being copied to correct location
11 years ago
Lorenz Meier
78e555c6b0
Updated QUpgrade version
11 years ago
Lorenz Meier
a0b8caa909
Merge pull request #607 from DonLakeFlyer/ESpeakWarnings
...
Fix GCC compiler warning
11 years ago
Don Gagne
a20b2b18ce
Fill in missing struct members instead of pragma
11 years ago
Vladimir Ermakov
e3f6a388be
Fix bug #603 save INT8/UINT8 parameters to file
11 years ago
Lorenz Meier
d279d57a87
Merge pull request #606 from thomasgubler/primaryflightdisplay
...
primary flight display: actually use airspeed
11 years ago
Don Gagne
51098eaf5a
Fix GCC compiler warning
11 years ago
WillRam
d043c24cda
Copy of current OpenPilot file. Proxy fixed
...
Proxy now follows system proxy
11 years ago
Thomas Gubler
f3d2948307
primary flight display: actually use airspeed
11 years ago
Lorenz Meier
49b9228e95
Merge pull request #471 from thomasgubler/espeak
...
linux speech synthesis: switch to eSpeak
11 years ago
Lorenz Meier
d8212e3a48
Merge pull request #595 from indrimuska/master
...
Fixed Google Earth file location for Mac users
11 years ago
Indri Muska
141f523d19
Fixed Google Earth file location for Mac users
11 years ago
Don Gagne
b8a37e39a2
Merge pull request #594 from DonLakeFlyer/Issue570
...
Only a single MAVLink dialect is supported
11 years ago
Don Gagne
969c5aeaee
Put back comment removed by mistake
11 years ago
Don Gagne
fb052d2a8d
Only a single MAVLink dialect is supported
11 years ago
Thomas Gubler
4574fd521b
Merge pull request #592 from mavlink/hil_cleanup
...
HIL cleanup, ensure correct init in X-Plane
11 years ago
Lorenz Meier
1bebc97d2f
HIL cleanup, ensure correct init in X-Plane
11 years ago
Lorenz Meier
74f48a2f6d
Read UART faster to prevent buffer overflows
11 years ago
Lorenz Meier
4941ee54f0
Avoid evil port config for CDC devices altogether, non-CDC devices (unknown devices) should be unaffected
11 years ago
Lorenz Meier
13bf5898ad
Avoid ANY configuration action in serial link if not strictly required by user
11 years ago