Browse Source

Change mobileye timestamp(set to PC localTime)

HAPO-9# 3 years ago
parent
commit
97d36bf444
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/detection/detection_mobileye/main.cpp

+ 1 - 1
src/detection/detection_mobileye/main.cpp

@@ -185,7 +185,7 @@ void ProcCANMsg(iv::can::canraw xmsg)
 //        //failsafe
 //        ServiceCarStatus.obstacleStatus.failsafe = (xdata[5] >> 1) & 0xf;
         gmobileye.set_numobstacles(num_obstacles);
-        gmobileye.set_xmsgtime(msgtime);
+        gmobileye.set_xmsgtime(QDateTime::currentMSecsSinceEpoch());
     }
     /****************************************************  mobileye obstacle data a  ****************************************************************************
      *  message ID:0x739