|
@@ -99,6 +99,30 @@ namespace iv {
|
|
}
|
|
}
|
|
|
|
|
|
};
|
|
};
|
|
|
|
+ class StationCmd
|
|
|
|
+ {
|
|
|
|
+ public:
|
|
|
|
+ bool received;
|
|
|
|
+ uint32_t carID,carMode,emergencyStop,stationStop;
|
|
|
|
+ bool has_carID,has_carMode,has_emergencyStop,has_stationStop,mode_manual_drive;
|
|
|
|
+ uint32_t stationID[20];
|
|
|
|
+ GPS_INS stationGps[20];
|
|
|
|
+ uint32_t stationTotalNum;
|
|
|
|
+ StationCmd()
|
|
|
|
+ {
|
|
|
|
+ received=false;
|
|
|
|
+ has_carID=false;
|
|
|
|
+ has_carMode=false;
|
|
|
|
+ has_emergencyStop=false;
|
|
|
|
+ has_stationStop=false;
|
|
|
|
+ mode_manual_drive=false;
|
|
|
|
+ carID=0;
|
|
|
|
+ carMode=0;
|
|
|
|
+ emergencyStop=0;
|
|
|
|
+ stationStop=0;
|
|
|
|
+ stationTotalNum=0;
|
|
|
|
+ }
|
|
|
|
+ };
|
|
|
|
|
|
|
|
|
|
|
|
|