Merge pull request #1076 from srcejon/gs232_dont_round_target_azel

Rotator controller - Don't round az/el received from Sat Tracker
This commit is contained in:
Edouard Griffiths 2021-12-10 23:39:35 +01:00 committed by GitHub
commit dcc1b125ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -102,8 +102,8 @@ bool GS232ControllerGUI::handleMessage(const Message& message)
MainCore::MsgTargetAzimuthElevation& msg = (MainCore::MsgTargetAzimuthElevation&) message;
SWGSDRangel::SWGTargetAzimuthElevation *swgTarget = msg.getSWGTargetAzimuthElevation();
ui->azimuth->setValue(round(swgTarget->getAzimuth()));
ui->elevation->setValue(round(swgTarget->getElevation()));
ui->azimuth->setValue(swgTarget->getAzimuth());
ui->elevation->setValue(swgTarget->getElevation());
ui->targetName->setText(*swgTarget->getName());
return true;
}