|
|
@ -312,7 +312,7 @@ void UASView::refresh() |
|
|
|
m_ui->thrustBar->setValue(this->thrust); |
|
|
|
m_ui->thrustBar->setValue(this->thrust); |
|
|
|
|
|
|
|
|
|
|
|
// Position
|
|
|
|
// Position
|
|
|
|
//QString position;
|
|
|
|
QString position; |
|
|
|
position = position.sprintf("%02.2f %02.2f %02.2f m", x, y, z); |
|
|
|
position = position.sprintf("%02.2f %02.2f %02.2f m", x, y, z); |
|
|
|
m_ui->positionLabel->setText(position); |
|
|
|
m_ui->positionLabel->setText(position); |
|
|
|
QString globalPosition; |
|
|
|
QString globalPosition; |
|
|
@ -320,7 +320,7 @@ void UASView::refresh() |
|
|
|
m_ui->gpsLabel->setText(globalPosition); |
|
|
|
m_ui->gpsLabel->setText(globalPosition); |
|
|
|
|
|
|
|
|
|
|
|
// Speed
|
|
|
|
// Speed
|
|
|
|
QString speed; |
|
|
|
QString speed; |
|
|
|
speed = speed.sprintf("%02.2f m/s", totalSpeed); |
|
|
|
speed = speed.sprintf("%02.2f m/s", totalSpeed); |
|
|
|
m_ui->speedLabel->setText(speed); |
|
|
|
m_ui->speedLabel->setText(speed); |
|
|
|
|
|
|
|
|
|
|
|