Skip to content
Snippets Groups Projects
Commit 917c54df authored by Hoop77's avatar Hoop77
Browse files

-

parent f424a49c
No related merge requests found
......@@ -174,6 +174,8 @@ void FollowerVehicle::receiveBroadcast(const PlatoonMessage & broadcast)
void FollowerVehicle::receiveResponse(const PlatoonMessage & response)
{
log("response\n");
if (state != State::CREATING_PLATOON ||
response.dstVehicle != myInfo.vehicleId)
return;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment