Commit b8c9acb1 authored by tecnosapiens's avatar tecnosapiens

add message to slugs data sensor view

parent 87e15658
......@@ -125,7 +125,7 @@ signals:
double filmZ,
quint64 time);
void slugsGPSDateTime(int uasId,
void slugsGPSDateTime(int systemId,
uint8_t gpsyear,
uint8_t gpsmonth,
uint8_t gpsday,
......
......@@ -255,16 +255,16 @@ void SlugsDataSensorView::refresh()
ui->m_logFl6_textEdit->setText(QString::number(Logfl_6, 'f', 4));
//refresh UI PWM Commands
ui->m_pwmThro->setText("No data");
ui->m_pwmThroTrim->setText("No data");
ui->m_pwmAile->setText("No data");
ui->m_pwmAileTrim->setText("No data");
ui->m_pwmElev->setText("No data");
ui->m_pwmElevTrim->setText("No data");
ui->m_pwmRudd->setText("No data");
ui->m_pwmRuddTrim->setText("No data");
ui->m_pwmFailSafe->setText("No data");
ui->m_pwmAvailable->setText("No data");
ui->m_pwmThro->setText(QString::number(dt_c, 'f', 4));
ui->m_pwmThroTrim->setText(QString::number(dre_c, 'f', 4));
ui->m_pwmAile->setText(QString::number(dla_c, 'f', 4));
ui->m_pwmAileTrim->setText(QString::number(dlf_c, 'f', 4));
ui->m_pwmElev->setText(QString::number(dle_c, 'f', 4));
ui->m_pwmElevTrim->setText(QString::number(drf_c, 'f', 4));
ui->m_pwmRudd->setText(QString::number(dr_c, 'f', 4));
ui->m_pwmRuddTrim->setText(QString::number(aux1, 'f', 4));
ui->m_pwmFailSafe->setText(QString::number(dre_c, 'f', 4));
ui->m_pwmAvailable->setText("No Data");
......
......@@ -108,6 +108,17 @@ public slots:
double slugpitch,
double slugyaw,
quint64 time);
/**
* @brief Adds the UAS for data display
*
* Adds the UAS and makes all the correct connections for data display on the Widgets
*/
void slugsGlobalPositionChanged(UASInterface* uas,
double lat,
double lon,
double alt,
quint64 time);
/**
* @brief Adds the UAS for data display
*
......@@ -214,11 +225,7 @@ public slots:
double filmZ,
quint64 time);
void slugsGlobalPositionChanged(UASInterface* uas,
double lat,
double lon,
double alt,
quint64 time);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment