#ifndef VEHICLESTATUS_H #define VEHICLESTATUS_H #include class VehicleStatus { public: VehicleStatus() { last_error=0; map_type=1; last_map_type=0; vehicleDistanceInit=0; controlMode=0; } quint8 vehicleID; qint32 vehicleLat; //lat*10E7 double vehicleLat_float; //lat qint32 vehicleLon; //lon*10E7 double vehicleLon_float; //lon qint16 vehicleSpeed; //km/h *10 float vehicleSpeed_float; //km/h quint16 vehicleAng; //du qint16 vehicleDistance; //dm qint16 vehicleProcess; float vehicleProcess_float; float last_error; qint16 vehicleDistanceRel; quint32 link_update_time; quint8 link_status; quint8 map_type; quint8 last_map_type; qint16 vehicleDistanceInit; //dm quint8 controlMode; //0:speed=0;1:processControl;2:distanceControl quint8 INIT_SPEED=50; quint8 masterID; qint8 collision_point; quint8 status_flag; qint16 vehicleDesiredSpeed; }; #endif // VEHICLESTATUS_H