|
@@ -732,7 +732,7 @@ QByteArray PC5::upV2Vdatashow()
|
|
{
|
|
{
|
|
QByteArray returndata;
|
|
QByteArray returndata;
|
|
returndata=V2VshowData;
|
|
returndata=V2VshowData;
|
|
- V2VshowData.clear();
|
|
|
|
|
|
+// V2VshowData.clear();
|
|
return returndata;
|
|
return returndata;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -798,7 +798,7 @@ void PC5::replyMessage()
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
- qDebug()<<0xff;
|
|
|
|
|
|
+ error_data=error_data+"light1ff--";
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
@@ -818,7 +818,7 @@ void PC5::replyMessage()
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
- qDebug()<<0xff;
|
|
|
|
|
|
+ error_data=error_data+"light2ff--";
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
@@ -838,7 +838,7 @@ void PC5::replyMessage()
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
- qDebug()<<0xff;
|
|
|
|
|
|
+ error_data=error_data+"light3ff--";
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
@@ -858,7 +858,7 @@ void PC5::replyMessage()
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
- qDebug()<<0xff;
|
|
|
|
|
|
+ error_data=error_data+"light4ff--";
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
@@ -1028,7 +1028,8 @@ void PC5::replyMessage()
|
|
recv_other_car.gps_lng=double(((recvBuf[num+1]<<24)&0xFF000000)|((recvBuf[num+2]<<16)&0xFF0000)|((recvBuf[num+3]<<8)&0xFF00)|((recvBuf[num+4])&0xFF))/10000000;
|
|
recv_other_car.gps_lng=double(((recvBuf[num+1]<<24)&0xFF000000)|((recvBuf[num+2]<<16)&0xFF0000)|((recvBuf[num+3]<<8)&0xFF00)|((recvBuf[num+4])&0xFF))/10000000;
|
|
recv_other_car.gps_lat=double(((recvBuf[num+5]<<24)&0xFF000000)|((recvBuf[num+6]<<16)&0xFF0000)|((recvBuf[num+7]<<8)&0xFF00)|((recvBuf[num+8])&0xFF))/10000000;
|
|
recv_other_car.gps_lat=double(((recvBuf[num+5]<<24)&0xFF000000)|((recvBuf[num+6]<<16)&0xFF0000)|((recvBuf[num+7]<<8)&0xFF00)|((recvBuf[num+8])&0xFF))/10000000;
|
|
recv_other_car.car_speed=recvBuf[num+9];
|
|
recv_other_car.car_speed=recvBuf[num+9];
|
|
- recv_other_car.car_yaw=double(((recvBuf[num+10]<<24)&0xFF000000)|((recvBuf[num+11]<<16)&0xFF0000)|((recvBuf[num+12]<<8)&0xFF00)|((recvBuf[num+13])&0xFF))/10;
|
|
|
|
|
|
+
|
|
|
|
+ recv_other_car.car_yaw=double(((recvBuf[num+10]<<24)&0xFF000000)|((recvBuf[num+11]<<16)&0xFF0000)|((recvBuf[num+12]<<8)&0xFF00)|((recvBuf[num+13])&0xFF))/100;
|
|
|
|
|
|
recv_other_car.acc_x=recvBuf[num+14];
|
|
recv_other_car.acc_x=recvBuf[num+14];
|
|
recv_other_car.acc_y=recvBuf[num+15];
|
|
recv_other_car.acc_y=recvBuf[num+15];
|