-
Notifications
You must be signed in to change notification settings - Fork 1
Description
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.