mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
Satellite constellation display shouldn't display satellites with
negative elevation angle.
This commit is contained in:
parent
7a7b64c9cf
commit
6751a4cd8b
@ -123,7 +123,7 @@ void GpsConstellationWidget::updateSat(int index, int prn, int elevation, int az
|
||||
satellites[index][2] = azimuth;
|
||||
satellites[index][3] = snr;
|
||||
|
||||
if (prn) {
|
||||
if (prn && elevation >= 0) {
|
||||
QPointF opd = polarToCoord(elevation,azimuth);
|
||||
opd += QPointF(-satIcons[index]->boundingRect().center().x(),
|
||||
-satIcons[index]->boundingRect().center().y());
|
||||
|
Loading…
x
Reference in New Issue
Block a user