Skip to content

Stepping Platform Entity State While Not Actionable #22

@ttamyurek

Description

@ttamyurek

The _step_entity_state() method in the SafeRL simulator steps all of the sim_entities regardless of their condition in the simulation. Since last entity actions are applied to spacecrafts in _step_get_entity_actions() even though the platform name is not in the platforms_to_action dictionary, it triggers issues in multi-agent scenarios such as weird agent behaviors and unexpected done triggers. This is an issue for multi-agent scenarios where the simulation has to continue even if some agents have hit a done but there are still other agents alive trying to complete the task. Feel free to remove this issue if you don't think this is a problem for this repo.

I think platform entities should be stepped only if they are in the platforms_to_action dictionary. Or they should be stepped with action=None. However, non-platform entities such as sun, chief, etc. should still be stepped.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions