-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
Hi,
Thanks for sharing this project. While configuring and running it, I noticed a couple of small issues in team_code_v2 that might cause errors.
- TypeError in aim assignment
Line 411 in 12540bd
aim = waypoints[self.aim_point[cmd]]
This raises
aim = waypoints[self.aim_point[cmd]]
TypeError: 'int' object is not subscriptable
This can be fixed by aligning with team_code/lav_agent.py
aim = waypoints[self.aim_point]
- AttributeError in lav_agent and lav_agent_fast
AttributeError: 'LAVAgent' object has no attribute 'speed_ratio'
The corrsponding code:
Line 419 in 12540bd
| delta = np.clip(desired_speed * self.speed_ratio[cmd] - speed, 0.0, self.clip_delta) |
I removed self.speed_ratio[cmd], following the implementation in team_code/lav_agent.py.
I am not certain whether this is a minor typo or if it has an impact on the performance of the ADS.
Thank you.
Metadata
Metadata
Assignees
Labels
No labels