WoodOxen / tactics2d

Tactics2D: A Reinforcement Learning Environment Library with Generative Scenarios for Driving Decision-making
https://tactics2d.readthedocs.io/en/latest/
GNU General Public License v3.0
150 stars 19 forks source link

🐛 Bug: NoAction event detection #102

Closed zzlqwq closed 3 months ago

zzlqwq commented 4 months ago

Describe the bug

Currently, NoAction detection is based on the lack of action change over multiple frames. In this setup, objects in uniform or uniformly accelerated motion are mistakenly identified as inactive.

To Reproduce Interact with the env using the same action for more than 100 steps.

Expected behavior The detection should only consider an object inactive when there is a prolonged lack of change in the object's state, rather than just its actions.