Issue #18: Maintain current action by selecting None action #90
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Closes #18
Allows actions to add
RETASKING_REQUIRED
to info on action completion. If it is present, the user should assign a new task (currently only a print statement alerts this, didn't want to use warn so it isn't surpressed; maybe we should add a logger eventually?). If the symbol is not present, the user may taskNone
to continue the current task.This is generally useful in variable-interval, multiagent systems; if one satellite finishes a task, the step will end; it may be desirable to have other satellites continue their current action rather than retask.
How should this pull request be reviewed?
Type of change
How Has This Been Tested?
Tests still pass, new tests added.
pytest --cov bsk_rl/envs/general_satellite_tasking --cov-report term-missing tests/unittest
pytest --cov bsk_rl/envs/general_satellite_tasking --cov-report term-missing tests/integration
Test Configuration
Checklist:
Issue #XXX: Message
and have a useful message