Kaynağa Gözat

change ui_ads_hmi for translate.

yuchuli 1 yıl önce
ebeveyn
işleme
e74493ec98

+ 40 - 11
src/ui/ui_ads_hmi/ADCIntelligentVehicle.cpp

@@ -3,11 +3,15 @@
 #include "chassis.pb.h"
 #include "xmlparam.h"
 
+
 #include <thread>
 
 #define qtcout qDebug() << "[ " << __FILE__ << ":" << __LINE__<< " ]";
 
 extern std::string gstrmemgps;
+
+extern std::string gstrvehtype;
+
 /**
      常量 	值 	描述
     QHostAddress::Null 	0 	空地址对象,相当于QHostAddress()。
@@ -279,10 +283,15 @@ ADCIntelligentVehicle::ADCIntelligentVehicle(QWidget *parent)
     //myview_small->centerOn(-200,-200);
 
     /********************************** 百度地图显示  ********************************/
-    mMapview = new QWebEngineView(ui->stackedWidget->widget(1));
-//    qDebug((QDir::currentPath()).toLatin1().data());
-    mMapview->load(QUrl(QString("file:///%1/%2").arg(QApplication::applicationDirPath()).arg("BaiDuMap.html")));
-    mMapview->setGeometry(1000,100,500,500);
+
+    if(gstrvehtype != "LuBan")
+    {
+
+        mMapview = new QWebEngineView(ui->stackedWidget->widget(1));
+        //    qDebug((QDir::currentPath()).toLatin1().data());
+        mMapview->load(QUrl(QString("file:///%1/%2").arg(QApplication::applicationDirPath()).arg("BaiDuMap.html")));
+        mMapview->setGeometry(1000,100,500,500);
+    }
     /********************************************************************************/
 
 
@@ -476,6 +485,23 @@ ADCIntelligentVehicle::ADCIntelligentVehicle(QWidget *parent)
     ui->pBtn_low_beam_close->setIcon(QIcon(":/Car-Control-icon/JinGuang-Guan.svg"));
     ui->pBtn_high_beam_open->setIcon(QIcon(":/Car-Control-icon/YuanGuang-Kai.svg"));
     ui->pBtn_high_beam_close->setIcon(QIcon(":/Car-Control-icon/YuanGuang-Guan.svg"));
+
+    if(gstrvehtype == "LuBan")
+    {
+        ui->groupBox->setVisible(false);
+        ui->groupBox_4->setVisible(false);
+        ui->groupBox_5->setVisible(false);
+        ui->groupBox_6->setVisible(false);
+        ui->groupBox_7->setVisible(false);
+        ui->groupBox_8->setVisible(false);
+        ui->groupBox_9->setVisible(false);
+        ui->groupBox_10->setVisible(false);
+        ui->groupBox_13->setVisible(false);
+        ui->pushButton_3->setVisible(false);
+        ui->pushButton_4->setVisible(false);
+        ui->groupBox_11->setVisible(false);
+    }
+
 }
 
 ADCIntelligentVehicle::~ADCIntelligentVehicle()
@@ -896,13 +922,16 @@ void ADCIntelligentVehicle::onStateTimerMap()
 {
     /*******************************更新百度地图******************************/
 
-    double flat = ServiceCarStatus.location->gps_lat;
-    double flon = ServiceCarStatus.location->gps_lng;
-    double fang = ServiceCarStatus.location->ins_heading_angle;
+    if(gstrvehtype != "LuBan")
+    {
+        double flat = ServiceCarStatus.location->gps_lat;
+        double flon = ServiceCarStatus.location->gps_lng;
+        double fang = ServiceCarStatus.location->ins_heading_angle;
 
-    char strscript[256];
-    snprintf(strscript,255,"theLocation(%11.7f,%11.7f,%11.7f);",flon,flat,fang);
-    mMapview->page()->runJavaScript(strscript);
+        char strscript[256];
+        snprintf(strscript,255,"theLocation(%11.7f,%11.7f,%11.7f);",flon,flat,fang);
+        mMapview->page()->runJavaScript(strscript);
+    }
     /************************************************************************/
 }
 
@@ -1189,7 +1218,7 @@ void ADCIntelligentVehicle::paintEvent(QPaintEvent *)
         //获取到实时 GPS信息,并做路径点的显示更新
         if (ServiceCarStatus.location->gps_x == 0)
         {
-            painter->drawText(rect(), Qt::AlignLeft, QString::fromLocal8Bit("等待车辆实时GPS位置信息"));
+            painter->drawText(rect(), Qt::AlignLeft, QString(tr("等待车辆实时GPS位置信息")));
 //            painter_small->drawText(rect(), Qt::AlignLeft, QString::fromLocal8Bit("等待车辆实时GPS位置信息"));
         }
         else

+ 11 - 11
src/ui/ui_ads_hmi/ADCIntelligentVehicle.ui

@@ -98,7 +98,7 @@
      </rect>
     </property>
     <property name="currentIndex">
-     <number>2</number>
+     <number>1</number>
     </property>
     <widget class="QWidget" name="page_0">
      <widget class="QGroupBox" name="groupBox_2">
@@ -765,7 +765,7 @@
       <widget class="QLineEdit" name="lineEdit_12">
        <property name="geometry">
         <rect>
-         <x>99</x>
+         <x>143</x>
          <y>30</y>
          <width>101</width>
          <height>20</height>
@@ -778,7 +778,7 @@
       <widget class="QLineEdit" name="lineEdit_17">
        <property name="geometry">
         <rect>
-         <x>100</x>
+         <x>143</x>
          <y>60</y>
          <width>101</width>
          <height>21</height>
@@ -793,7 +793,7 @@
         <rect>
          <x>10</x>
          <y>30</y>
-         <width>81</width>
+         <width>121</width>
          <height>20</height>
         </rect>
        </property>
@@ -809,7 +809,7 @@
       <widget class="QPushButton" name="pushButton_25">
        <property name="geometry">
         <rect>
-         <x>221</x>
+         <x>306</x>
          <y>30</y>
          <width>81</width>
          <height>21</height>
@@ -827,7 +827,7 @@
       <widget class="QPushButton" name="pushButton_26">
        <property name="geometry">
         <rect>
-         <x>220</x>
+         <x>309</x>
          <y>60</y>
          <width>81</width>
          <height>21</height>
@@ -847,7 +847,7 @@
         <rect>
          <x>10</x>
          <y>60</y>
-         <width>81</width>
+         <width>121</width>
          <height>21</height>
         </rect>
        </property>
@@ -863,7 +863,7 @@
       <widget class="QPushButton" name="Mobileye_st">
        <property name="geometry">
         <rect>
-         <x>320</x>
+         <x>412</x>
          <y>30</y>
          <width>81</width>
          <height>21</height>
@@ -2433,7 +2433,7 @@ background-color: rgb(85, 87, 83);</string>
       <rect>
        <x>740</x>
        <y>0</y>
-       <width>71</width>
+       <width>151</width>
        <height>31</height>
       </rect>
      </property>
@@ -2447,9 +2447,9 @@ background-color: rgb(85, 87, 83);</string>
     <widget class="QLabel" name="label_8">
      <property name="geometry">
       <rect>
-       <x>830</x>
+       <x>940</x>
        <y>0</y>
-       <width>71</width>
+       <width>181</width>
        <height>31</height>
       </rect>
      </property>

+ 0 - 739
src/ui/ui_ads_hmi/language_zh_CN.ts

@@ -1,739 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.1" language="zh_CN">
-<context>
-    <name>ADCIntelligentVehicle</name>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="14"/>
-        <source>ADCIntelligentVehicle</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="122"/>
-        <source>基本操作</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="133"/>
-        <source>启动自动驾驶</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="148"/>
-        <source>暂停自动驾驶</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="160"/>
-        <source>退出自动驾驶</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="172"/>
-        <source>使能云平台控制</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="196"/>
-        <location filename="ADCIntelligentVehicle.ui" line="763"/>
-        <source>实时状态</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="278"/>
-        <location filename="ADCIntelligentVehicle.ui" line="806"/>
-        <source>RTK</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="296"/>
-        <source>INS</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="314"/>
-        <location filename="ADCIntelligentVehicle.ui" line="824"/>
-        <source>毫米波雷达</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="332"/>
-        <location filename="ADCIntelligentVehicle.ui" line="842"/>
-        <source>激光雷达</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="350"/>
-        <location filename="ADCIntelligentVehicle.ui" line="860"/>
-        <source>决策周期</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="373"/>
-        <source>开启自动驾驶之旅</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="398"/>
-        <source>Start A Journey Of Autopilot</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="424"/>
-        <source>0</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="449"/>
-        <source>速度</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="550"/>
-        <source>V2X红绿灯</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="565"/>
-        <source>右转</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="635"/>
-        <location filename="ADCIntelligentVehicle.ui" line="699"/>
-        <location filename="ADCIntelligentVehicle.ui" line="712"/>
-        <location filename="ADCIntelligentVehicle.ui" line="725"/>
-        <location filename="ADCIntelligentVehicle.ui" line="1169"/>
-        <location filename="ADCIntelligentVehicle.ui" line="1195"/>
-        <source>TextLabel</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="651"/>
-        <source>直行</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="686"/>
-        <source>掉头</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="741"/>
-        <source>左转</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="878"/>
-        <source>Mobileye</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="898"/>
-        <location filename="ADCIntelligentVehicle.ui" line="1710"/>
-        <source>速度控制</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="910"/>
-        <source>常规速度</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="923"/>
-        <source>转弯速度</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="936"/>
-        <source>快速</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="949"/>
-        <source>中速</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="962"/>
-        <source>慢速</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1033"/>
-        <source>模式选择</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1045"/>
-        <source>换道</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1058"/>
-        <source>停障</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1071"/>
-        <source>避障</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1084"/>
-        <source>特殊信号</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1097"/>
-        <source>路边停车</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1119"/>
-        <source>查看决策信息</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1140"/>
-        <source>mobileye信息</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1157"/>
-        <source>交通灯调试</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1211"/>
-        <source>编号</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1218"/>
-        <source>颜色</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1225"/>
-        <source>时长</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1244"/>
-        <location filename="ADCIntelligentVehicle.ui" line="1492"/>
-        <source>设置纬度</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1266"/>
-        <location filename="ADCIntelligentVehicle.ui" line="1470"/>
-        <source>设置经度</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1290"/>
-        <source>车辆信息</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1340"/>
-        <source>车型</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1353"/>
-        <source>剩余电量</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1366"/>
-        <source>车长*车宽</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1398"/>
-        <source>VIN</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1429"/>
-        <source>泊车调试</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1441"/>
-        <source>侧方停车</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1454"/>
-        <source>倒车入库</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1514"/>
-        <source>设置航向角</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1546"/>
-        <source>控制板调试</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1566"/>
-        <location filename="ADCIntelligentVehicle.cpp" line="1441"/>
-        <source>决策控制使能:关</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1584"/>
-        <location filename="ADCIntelligentVehicle.cpp" line="1450"/>
-        <source>左转向灯:关</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1602"/>
-        <location filename="ADCIntelligentVehicle.cpp" line="1460"/>
-        <source>右转向灯:关</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1620"/>
-        <location filename="ADCIntelligentVehicle.cpp" line="1469"/>
-        <source>喇叭</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1638"/>
-        <source>刹车</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1656"/>
-        <source>油门</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1674"/>
-        <source>转向</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1692"/>
-        <source>无法使用</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1866"/>
-        <location filename="ADCIntelligentVehicle.cpp" line="1478"/>
-        <source>近光灯:关</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1884"/>
-        <location filename="ADCIntelligentVehicle.cpp" line="1490"/>
-        <source>点火:关</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1905"/>
-        <source>驻车调试</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1920"/>
-        <source>设置驻车时间</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1944"/>
-        <source>控制参数设置</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1965"/>
-        <location filename="ADCIntelligentVehicle.ui" line="2086"/>
-        <location filename="ADCIntelligentVehicle.ui" line="2141"/>
-        <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
-&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
-p, li { white-space: pre-wrap; }
-&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Ubuntu&apos;; font-size:11pt; font-weight:400; font-style:normal;&quot;&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1982"/>
-        <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#eeeeec;&quot;&gt;停障触发距离&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="1995"/>
-        <source>保存</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2021"/>
-        <source>避障触发次数</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2034"/>
-        <source>避障触发距离</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2047"/>
-        <source>避障保障距离</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2190"/>
-        <source>激光雷达可应用于车辆对周围360度环境感知,内参标定对感知的准确性有重要作用。</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2206"/>
-        <source>激光雷达角度</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2235"/>
-        <source>单位:m          范围:10~40</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2248"/>
-        <source>单位:m          范围:15~40</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2261"/>
-        <source>单位:次         范围:1 ~ 40</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2274"/>
-        <source>单位:m          范围:5 ~ 30</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2287"/>
-        <source>单位: °           范围:0~360</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2300"/>
-        <source>恢复默认值</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2344"/>
-        <source>小巴调试</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2359"/>
-        <source>车门开</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2366"/>
-        <source>车门关</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2373"/>
-        <source>近光灯开</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2380"/>
-        <source>近光灯关</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2387"/>
-        <source>远光灯开</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2394"/>
-        <source>远光灯关</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2428"/>
-        <source>中国汽车技术研究中心-数据资源中心</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2444"/>
-        <source>商务合作</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2460"/>
-        <source>技术支持</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2477"/>
-        <source>毫米波显示</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2496"/>
-        <source>激光显示</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.ui" line="2515"/>
-        <source>融合显示</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.cpp" line="713"/>
-        <source>前方没有障碍物</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.cpp" line="1018"/>
-        <source>退出程序</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.cpp" line="1018"/>
-        <source>确认退出程序</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.cpp" line="1441"/>
-        <source>决策控制使能:开</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.cpp" line="1450"/>
-        <source>左转向灯:开</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.cpp" line="1460"/>
-        <source>右转向灯:开</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.cpp" line="1478"/>
-        <source>近光灯:开</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.cpp" line="1490"/>
-        <source>点火:开</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.cpp" line="2278"/>
-        <source>云平台控制:关</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ADCIntelligentVehicle.cpp" line="2282"/>
-        <source>云平台控制:开</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>Look_decition</name>
-    <message>
-        <location filename="look.cpp" line="82"/>
-        <source>决策观察器</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="look.cpp" line="83"/>
-        <source>油门</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="look.cpp" line="84"/>
-        <source>刹车</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="look.cpp" line="85"/>
-        <source>转向</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="look.cpp" line="86"/>
-        <source>速度</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="look.cpp" line="87"/>
-        <source>激光雷达距离</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="look.cpp" line="88"/>
-        <source>毫米波距离</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="look.cpp" line="89"/>
-        <source>最终obs距离</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="look.cpp" line="90"/>
-        <source>纬度</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="look.cpp" line="91"/>
-        <source>精度</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="look.cpp" line="92"/>
-        <location filename="look.cpp" line="93"/>
-        <source>保留</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>Mobileye_info</name>
-    <message>
-        <location filename="mobileye_info.cpp" line="709"/>
-        <source>mobileye_info</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="710"/>
-        <source>dusk_time</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="711"/>
-        <source>lane</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="712"/>
-        <source>curvature</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="713"/>
-        <source>heading</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="714"/>
-        <source>yaw</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="715"/>
-        <source>pitch</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="716"/>
-        <source>dist_to_l</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="717"/>
-        <source>dist_to_r</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="718"/>
-        <source>left_type</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="719"/>
-        <source>right_type</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="720"/>
-        <source>num_obstacles</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="721"/>
-        <source>timestamp</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="722"/>
-        <source>ID</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="723"/>
-        <source>pos_x</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="724"/>
-        <source>pos_y</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="725"/>
-        <source>rel_vel_x</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="726"/>
-        <source>status</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="727"/>
-        <source>type</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="728"/>
-        <source>brake_lights</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="729"/>
-        <source>length</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="730"/>
-        <source>width</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="731"/>
-        <source>age</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="732"/>
-        <source>angle_rate</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="733"/>
-        <source>angle</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="mobileye_info.cpp" line="734"/>
-        <source>accel_x</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-</TS>

+ 3 - 1
src/ui/ui_ads_hmi/main.cpp

@@ -22,6 +22,7 @@ std::string gstrmemradar;
 std::string gstrmemdecition;
 std::string gstrmembrainstate;
 std::string gstrmemchassis;
+std::string gstrvehtype;
 
 void ExitFunc()
 {
@@ -36,7 +37,7 @@ int main(int argc, char *argv[])
     QApplication a(argc, argv);
 
     QTranslator ts;
-    if(ts.load("./language_zh_EN.qm"))
+    if(ts.load("./ui_ads_hmi_language.qm"))
     {
         a.installTranslator(&ts);
     }
@@ -62,6 +63,7 @@ int main(int argc, char *argv[])
    gstrmemdecition = xp.GetParam("dection","deciton");
    gstrmembrainstate = xp.GetParam("brainstate","brainstate");
    gstrmemchassis = xp.GetParam("chassismsgname","chassis");
+   gstrvehtype = xp.GetParam("VehType","ShenLan");
 
 #if (QT_VERSION <= QT_VERSION_CHECK(5,0,0))    //apollo_fu 20200413 添加对QT4版本的中文字体支持
     //QT5版本以上默认就是采用UTF-8编码

+ 1 - 2
src/ui/ui_ads_hmi/ui_ads_hmi.pro

@@ -113,5 +113,4 @@ DISTFILES += \
 LIBS += -livprotoif
 
 
-TRANSLATIONS = language_zh_CN.ts  \
-                language_zh_EN.ts
+TRANSLATIONS = ui_ads_hmi_language.ts

+ 78 - 73
src/ui/ui_ads_hmi/language_zh_EN.ts → src/ui/ui_ads_hmi/ui_ads_hmi_language.ts

@@ -283,25 +283,25 @@
     </message>
     <message>
         <location filename="ADCIntelligentVehicle.ui" line="1566"/>
-        <location filename="ADCIntelligentVehicle.cpp" line="1441"/>
+        <location filename="ADCIntelligentVehicle.cpp" line="1470"/>
         <source>决策控制使能:关</source>
         <translation>Disable Dicision</translation>
     </message>
     <message>
         <location filename="ADCIntelligentVehicle.ui" line="1584"/>
-        <location filename="ADCIntelligentVehicle.cpp" line="1450"/>
+        <location filename="ADCIntelligentVehicle.cpp" line="1479"/>
         <source>左转向灯:关</source>
         <translation>Stop Left Light</translation>
     </message>
     <message>
         <location filename="ADCIntelligentVehicle.ui" line="1602"/>
-        <location filename="ADCIntelligentVehicle.cpp" line="1460"/>
+        <location filename="ADCIntelligentVehicle.cpp" line="1489"/>
         <source>右转向灯:关</source>
         <translation>Stop Right Light</translation>
     </message>
     <message>
         <location filename="ADCIntelligentVehicle.ui" line="1620"/>
-        <location filename="ADCIntelligentVehicle.cpp" line="1469"/>
+        <location filename="ADCIntelligentVehicle.cpp" line="1498"/>
         <source>喇叭</source>
         <translation>Alarm</translation>
     </message>
@@ -327,13 +327,13 @@
     </message>
     <message>
         <location filename="ADCIntelligentVehicle.ui" line="1866"/>
-        <location filename="ADCIntelligentVehicle.cpp" line="1478"/>
+        <location filename="ADCIntelligentVehicle.cpp" line="1507"/>
         <source>近光灯:关</source>
         <translation>Dipped Light Close</translation>
     </message>
     <message>
         <location filename="ADCIntelligentVehicle.ui" line="1884"/>
-        <location filename="ADCIntelligentVehicle.cpp" line="1490"/>
+        <location filename="ADCIntelligentVehicle.cpp" line="1519"/>
         <source>点火:关</source>
         <translation>Stop Ignition</translation>
     </message>
@@ -395,7 +395,7 @@ p, li { white-space: pre-wrap; }
     <message>
         <location filename="ADCIntelligentVehicle.ui" line="2190"/>
         <source>激光雷达可应用于车辆对周围360度环境感知,内参标定对感知的准确性有重要作用。</source>
-        <translation>Lidar Used for 360 view</translation>
+        <translation>Lidar Used for 360 view.</translation>
     </message>
     <message>
         <location filename="ADCIntelligentVehicle.ui" line="2206"/>
@@ -425,47 +425,47 @@ p, li { white-space: pre-wrap; }
     <message>
         <location filename="ADCIntelligentVehicle.ui" line="2287"/>
         <source>单位: °           范围:0~360</source>
-        <translation type="unfinished"></translation>
+        <translation>Unit:         Range:0~360</translation>
     </message>
     <message>
         <location filename="ADCIntelligentVehicle.ui" line="2300"/>
         <source>恢复默认值</source>
-        <translation type="unfinished"></translation>
+        <translation>Reset Default</translation>
     </message>
     <message>
         <location filename="ADCIntelligentVehicle.ui" line="2344"/>
         <source>小巴调试</source>
-        <translation type="unfinished"></translation>
+        <translation>Debug Problue</translation>
     </message>
     <message>
         <location filename="ADCIntelligentVehicle.ui" line="2359"/>
         <source>车门开</source>
-        <translation type="unfinished"></translation>
+        <translation>Open Door</translation>
     </message>
     <message>
         <location filename="ADCIntelligentVehicle.ui" line="2366"/>
         <source>车门关</source>
-        <translation type="unfinished"></translation>
+        <translation>Close Door</translation>
     </message>
     <message>
         <location filename="ADCIntelligentVehicle.ui" line="2373"/>
         <source>近光灯开</source>
-        <translation type="unfinished"></translation>
+        <translation>Open Headlight</translation>
     </message>
     <message>
         <location filename="ADCIntelligentVehicle.ui" line="2380"/>
         <source>近光灯关</source>
-        <translation type="unfinished"></translation>
+        <translation>Close Headlight</translation>
     </message>
     <message>
         <location filename="ADCIntelligentVehicle.ui" line="2387"/>
         <source>远光灯开</source>
-        <translation type="unfinished"></translation>
+        <translation>Open HighLight</translation>
     </message>
     <message>
         <location filename="ADCIntelligentVehicle.ui" line="2394"/>
         <source>远光灯关</source>
-        <translation type="unfinished"></translation>
+        <translation>Close HighLight</translation>
     </message>
     <message>
         <location filename="ADCIntelligentVehicle.ui" line="2428"/>
@@ -498,54 +498,59 @@ p, li { white-space: pre-wrap; }
         <translation>Fusion</translation>
     </message>
     <message>
-        <location filename="ADCIntelligentVehicle.cpp" line="713"/>
+        <location filename="ADCIntelligentVehicle.cpp" line="739"/>
         <source>前方没有障碍物</source>
-        <translation type="unfinished"></translation>
+        <translation>No Obstacle</translation>
     </message>
     <message>
-        <location filename="ADCIntelligentVehicle.cpp" line="1018"/>
+        <location filename="ADCIntelligentVehicle.cpp" line="1047"/>
         <source>退出程序</source>
-        <translation type="unfinished"></translation>
+        <translation>Exit Program</translation>
     </message>
     <message>
-        <location filename="ADCIntelligentVehicle.cpp" line="1018"/>
+        <location filename="ADCIntelligentVehicle.cpp" line="1047"/>
         <source>确认退出程序</source>
-        <translation type="unfinished"></translation>
+        <translation>Confirm Exit Program</translation>
     </message>
     <message>
-        <location filename="ADCIntelligentVehicle.cpp" line="1441"/>
+        <location filename="ADCIntelligentVehicle.cpp" line="1221"/>
+        <source>等待车辆实时GPS位置信息</source>
+        <translation>Wait GPS</translation>
+    </message>
+    <message>
+        <location filename="ADCIntelligentVehicle.cpp" line="1470"/>
         <source>决策控制使能:开</source>
-        <translation type="unfinished"></translation>
+        <translation>Enable Decision</translation>
     </message>
     <message>
-        <location filename="ADCIntelligentVehicle.cpp" line="1450"/>
+        <location filename="ADCIntelligentVehicle.cpp" line="1479"/>
         <source>左转向灯:开</source>
-        <translation type="unfinished"></translation>
+        <translation>Open Left Light</translation>
     </message>
     <message>
-        <location filename="ADCIntelligentVehicle.cpp" line="1460"/>
+        <location filename="ADCIntelligentVehicle.cpp" line="1489"/>
         <source>右转向灯:开</source>
-        <translation type="unfinished"></translation>
+        <translation>Open Right Light</translation>
     </message>
     <message>
-        <location filename="ADCIntelligentVehicle.cpp" line="1478"/>
+        <location filename="ADCIntelligentVehicle.cpp" line="1507"/>
         <source>近光灯:开</source>
-        <translation type="unfinished"></translation>
+        <translation>Open HeadLight</translation>
     </message>
     <message>
-        <location filename="ADCIntelligentVehicle.cpp" line="1490"/>
+        <location filename="ADCIntelligentVehicle.cpp" line="1519"/>
         <source>点火:开</source>
-        <translation type="unfinished"></translation>
+        <translation>Open Ignition</translation>
     </message>
     <message>
-        <location filename="ADCIntelligentVehicle.cpp" line="2278"/>
+        <location filename="ADCIntelligentVehicle.cpp" line="2307"/>
         <source>云平台控制:关</source>
-        <translation type="unfinished"></translation>
+        <translation>Close Cloud</translation>
     </message>
     <message>
-        <location filename="ADCIntelligentVehicle.cpp" line="2282"/>
+        <location filename="ADCIntelligentVehicle.cpp" line="2311"/>
         <source>云平台控制:开</source>
-        <translation type="unfinished"></translation>
+        <translation>Open Cloud</translation>
     </message>
 </context>
 <context>
@@ -553,58 +558,58 @@ p, li { white-space: pre-wrap; }
     <message>
         <location filename="look.cpp" line="82"/>
         <source>决策观察器</source>
-        <translation type="unfinished"></translation>
+        <translation>Decison Look</translation>
     </message>
     <message>
         <location filename="look.cpp" line="83"/>
         <source>油门</source>
-        <translation type="unfinished"></translation>
+        <translation>Torque</translation>
     </message>
     <message>
         <location filename="look.cpp" line="84"/>
         <source>刹车</source>
-        <translation type="unfinished"></translation>
+        <translation>Brake</translation>
     </message>
     <message>
         <location filename="look.cpp" line="85"/>
         <source>转向</source>
-        <translation type="unfinished"></translation>
+        <translation>Wheel</translation>
     </message>
     <message>
         <location filename="look.cpp" line="86"/>
         <source>速度</source>
-        <translation type="unfinished"></translation>
+        <translation>Speed</translation>
     </message>
     <message>
         <location filename="look.cpp" line="87"/>
         <source>激光雷达距离</source>
-        <translation type="unfinished"></translation>
+        <translation>Lidar Distance</translation>
     </message>
     <message>
         <location filename="look.cpp" line="88"/>
         <source>毫米波距离</source>
-        <translation type="unfinished"></translation>
+        <translation>Radar Distance</translation>
     </message>
     <message>
         <location filename="look.cpp" line="89"/>
         <source>最终obs距离</source>
-        <translation type="unfinished"></translation>
+        <translation>Final Obs Distance</translation>
     </message>
     <message>
         <location filename="look.cpp" line="90"/>
         <source>纬度</source>
-        <translation type="unfinished"></translation>
+        <translation>Latitude</translation>
     </message>
     <message>
         <location filename="look.cpp" line="91"/>
         <source>精度</source>
-        <translation type="unfinished"></translation>
+        <translation>Longitude</translation>
     </message>
     <message>
         <location filename="look.cpp" line="92"/>
         <location filename="look.cpp" line="93"/>
         <source>保留</source>
-        <translation type="unfinished"></translation>
+        <translation>Reserve</translation>
     </message>
 </context>
 <context>
@@ -612,132 +617,132 @@ p, li { white-space: pre-wrap; }
     <message>
         <location filename="mobileye_info.cpp" line="709"/>
         <source>mobileye_info</source>
-        <translation type="unfinished"></translation>
+        <translation>mobileye_info</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="710"/>
         <source>dusk_time</source>
-        <translation type="unfinished"></translation>
+        <translation>dusk_time</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="711"/>
         <source>lane</source>
-        <translation type="unfinished"></translation>
+        <translation>lane</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="712"/>
         <source>curvature</source>
-        <translation type="unfinished"></translation>
+        <translation>curvature</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="713"/>
         <source>heading</source>
-        <translation type="unfinished"></translation>
+        <translation>heading</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="714"/>
         <source>yaw</source>
-        <translation type="unfinished"></translation>
+        <translation>yaw</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="715"/>
         <source>pitch</source>
-        <translation type="unfinished"></translation>
+        <translation>pitch</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="716"/>
         <source>dist_to_l</source>
-        <translation type="unfinished"></translation>
+        <translation>dist_to_l</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="717"/>
         <source>dist_to_r</source>
-        <translation type="unfinished"></translation>
+        <translation>dist_to_r</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="718"/>
         <source>left_type</source>
-        <translation type="unfinished"></translation>
+        <translation>left_type</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="719"/>
         <source>right_type</source>
-        <translation type="unfinished"></translation>
+        <translation>right_type</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="720"/>
         <source>num_obstacles</source>
-        <translation type="unfinished"></translation>
+        <translation>num_obstacles</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="721"/>
         <source>timestamp</source>
-        <translation type="unfinished"></translation>
+        <translation>timestamp</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="722"/>
         <source>ID</source>
-        <translation type="unfinished"></translation>
+        <translation>ID</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="723"/>
         <source>pos_x</source>
-        <translation type="unfinished"></translation>
+        <translation>pos_x</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="724"/>
         <source>pos_y</source>
-        <translation type="unfinished"></translation>
+        <translation>pos_y</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="725"/>
         <source>rel_vel_x</source>
-        <translation type="unfinished"></translation>
+        <translation>rel_vel_x</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="726"/>
         <source>status</source>
-        <translation type="unfinished"></translation>
+        <translation>status</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="727"/>
         <source>type</source>
-        <translation type="unfinished"></translation>
+        <translation>type</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="728"/>
         <source>brake_lights</source>
-        <translation type="unfinished"></translation>
+        <translation>brake_lights</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="729"/>
         <source>length</source>
-        <translation type="unfinished"></translation>
+        <translation>length</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="730"/>
         <source>width</source>
-        <translation type="unfinished"></translation>
+        <translation>width</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="731"/>
         <source>age</source>
-        <translation type="unfinished"></translation>
+        <translation>age</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="732"/>
         <source>angle_rate</source>
-        <translation type="unfinished"></translation>
+        <translation>angle_rate</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="733"/>
         <source>angle</source>
-        <translation type="unfinished"></translation>
+        <translation>angle</translation>
     </message>
     <message>
         <location filename="mobileye_info.cpp" line="734"/>
         <source>accel_x</source>
-        <translation type="unfinished"></translation>
+        <translation>accel_x</translation>
     </message>
 </context>
 </TS>