Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates #1

Merged
merged 16 commits into from
Nov 17, 2020
5 changes: 2 additions & 3 deletions pylot/simulation/carla_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,8 @@ def __init__(
# handle (which is slow).
self._spectator = self._world.get_spectator()

if not (self._simulator_version.startswith('0.8')
or re.match('0.9.[02-7]', self._simulator_version) is not None
or self._simulator_version == '0.9.1'):
if not (self._simulator_version.startswith('0.8') or re.match(
'0.9.[1-9]$', self._simulator_version) is not None):
# Any simulator version after 0.9.7.
# Create a traffic manager to that auto pilot works.
self._traffic_manager = self._client.get_trafficmanager(
Expand Down
1 change: 1 addition & 0 deletions pylot/simulation/perfect_lane_detector_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,4 @@ def on_position_update(self, timestamp: Timestamp,
lanes = []
output_msg = LanesMessage(pose_msg.timestamp, lanes)
detected_lane_stream.send(output_msg)
detected_lane_stream.send(erdos.WatermarkMessage(pose_msg.timestamp))