duckietown / gym-duckietown

Self-driving car simulator for the Duckietown universe
http://duckietown.org
Other
52 stars 19 forks source link

TypeError when adding obstacles #113

Closed 0x366 closed 5 years ago

0x366 commented 5 years ago

Hello!

I'm using branch aido1_lf1_r3-v3 and getting the following error:


   follow_point = closest_point + closest_tangent * self.follow_dist
TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'```
AndreaCensi commented 5 years ago

@maximecb ?

liampaull commented 5 years ago

or @bhairavmehta95 ?

bhairavmehta95 commented 5 years ago

This is an error that you might get when you (for whatever reason) can't find a tangent point to follow on the Bezier curve (i think when you calculate reward).

I don't think this has to do with adding obstacles though, and while we know about this issue, its just some sort of edge case we don't know how to find.

@heyt0ny do you think you'd be able to provide more information? maybe the map yaml file you're using? And whatever other info you can give us to help reproduce.

bhairavmehta95 commented 5 years ago

Closing due to inactivity. Please reopen if issue persists.