theomarzaki / TrafficOrchestrator

Traffic Orchestrator for Central unit Processing of autonomous vehicle merging through the use of Reinforcment Learning
MIT License
2 stars 0 forks source link

Unsubscription mechanism -> Send Error #52

Closed theomarzaki closed 5 years ago

theomarzaki commented 5 years ago

Mechanism works as expected, however, there is a log message Send: Connection Error. Could stem from the fact the v2x socket is closed ?

theomarzaki commented 5 years ago

Trajectory messages also receive the same error message.

proposal: force send the messages if the is a non block (0)

otherwise send it using MSG_NOSIGNAL.

That way, the unsubscriptions/trajectories will be sent whether or not there is a receiving entity on the other side.