Repository navigation
Recovery: RotateRecovery turns in place when there is no path - #128
Merged
Merged
Conversation
A movement mitigation for ERROR diagnostics of the planner (no path): it turns a full turn in place, so the sensors look all around (with a map that remembers obstacles, the gone ones are cleared), and stands still for the planner to replan. Once per episode: if there is still no path, it fails so the next mitigation, e.g. HumanAssistanceRecovery, takes over; also if the turn times out. Not added to any configuration. Signed-off-by: Francisco Martín Rico <fmrico@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #127
RotateRecoveryis a new movement mitigation for ERROR diagnostics from the planner (NoPathEvaluator).settle_timeseconds so the planner can replan, and succeeds.episode_gapseconds, the turn did not help, and the mitigation fails at once so the manager escalates to the next one, e.g.HumanAssistanceRecovery. It also fails if the turn times out, for instance when the collision reflex blocks it.angle(2π; negative turns clockwise),angular_speed(0.5),settle_time(2.0),timeout(0: twice the expected time plus 5 s),episode_gap(30.0),hardware_ids([planner]).human_assistance.Seven new tests cover:
In simulation, with the warehouse and an unreachable goal, it turned a full turn, waited, escalated when there was still no path, and
HumanAssistanceRecoverythen asked for help.