JuliaReinforcementLearning / GridWorlds.jl

Help! I'm lost in the flatland!
MIT License
46 stars 9 forks source link

DynamicObstacles updates obstacles only on MOVE_FORWARD action #53

Closed Sid-Bhatia-0 closed 3 years ago

Sid-Bhatia-0 commented 3 years ago

The obstacles in DynamicObstacles seem to only get updated on taking the MOVE_FORWARD action and not on the TURN_LEFT or TURN_RIGHT actions.

I was wondering if this is by design. After all, TURN_LEFT and TURN_RIGHT do consume a time-step, just like MOVE_FORWARD. So it seems more natural to me that the agent should be vigilant of the obstacles for each step it takes.