As reported in #363 we were not serializing exit events correctly when converting a nav graph into a ROS message. Entry events were accidentally being serialized in place of exit events. In situations where an exit event was present but not an entry event on the same lane, this would lead to a segmentation fault.
As reported in #363 we were not serializing exit events correctly when converting a nav graph into a ROS message. Entry events were accidentally being serialized in place of exit events. In situations where an exit event was present but not an entry event on the same lane, this would lead to a segmentation fault.
This PR fixes the mistake.