|
@@ -237,7 +237,9 @@ void MainWindow::onTimer()
|
|
|
ui->lineEChaissErr->setText(QString::number(tmp1[static_cast<int>(chassErr)]));
|
|
ui->lineEChaissErr->setText(QString::number(tmp1[static_cast<int>(chassErr)]));
|
|
|
stsMach = car_control_module.get_chassis_statemachine_sts();
|
|
stsMach = car_control_module.get_chassis_statemachine_sts();
|
|
|
ui->lineEMachErr->setText(QString::number(tmp1[static_cast<int>(stsMach)]));
|
|
ui->lineEMachErr->setText(QString::number(tmp1[static_cast<int>(stsMach)]));
|
|
|
- qDebug("chassisErr %d state machine %d", chassErr,stsMach);
|
|
|
|
|
|
|
+ QString strLog;
|
|
|
|
|
+ strLog.sprintf("%s %d %s %d","chassisErr ", chassErr, "state machine ",stsMach);
|
|
|
|
|
+ ui->textBrLog->append(strLog);
|
|
|
speed = car_control_module.get_current_vehicle_spd_in_ms();
|
|
speed = car_control_module.get_current_vehicle_spd_in_ms();
|
|
|
ui->lineESpeed->setText(QString::number(speed));
|
|
ui->lineESpeed->setText(QString::number(speed));
|
|
|
steerDeg = car_control_module.get_current_steer_ang_in_deg();
|
|
steerDeg = car_control_module.get_current_steer_ang_in_deg();
|