Skip to content

Commit

Permalink
Update the lidar sub name in environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack17432 committed Jul 10, 2023
1 parent 2ca68fb commit 47472b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/environments/environments/ParentCarEnvironment.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(self, env_name, car_name, reward_range, max_steps, collision_range,
self.lidar_sub = Subscriber(
self,
LaserScan,
f'/lidar',
f'/{self.NAME}/scan',
)

self.message_filter = ApproximateTimeSynchronizer(
Expand Down

0 comments on commit 47472b4

Please sign in to comment.