mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-21 23:55:13 -05:00
Rotator controller - Don't round az/el received from Sat Tracker, as we now support higher precision
This commit is contained in:
parent
4269aa4377
commit
f752806dbf
@ -102,8 +102,8 @@ bool GS232ControllerGUI::handleMessage(const Message& message)
|
|||||||
MainCore::MsgTargetAzimuthElevation& msg = (MainCore::MsgTargetAzimuthElevation&) message;
|
MainCore::MsgTargetAzimuthElevation& msg = (MainCore::MsgTargetAzimuthElevation&) message;
|
||||||
SWGSDRangel::SWGTargetAzimuthElevation *swgTarget = msg.getSWGTargetAzimuthElevation();
|
SWGSDRangel::SWGTargetAzimuthElevation *swgTarget = msg.getSWGTargetAzimuthElevation();
|
||||||
|
|
||||||
ui->azimuth->setValue(round(swgTarget->getAzimuth()));
|
ui->azimuth->setValue(swgTarget->getAzimuth());
|
||||||
ui->elevation->setValue(round(swgTarget->getElevation()));
|
ui->elevation->setValue(swgTarget->getElevation());
|
||||||
ui->targetName->setText(*swgTarget->getName());
|
ui->targetName->setText(*swgTarget->getName());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user