Add human intervention mechanism and eval_robot script to evaluate policy on the robot #541
+372
−3
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.
What this does
Related to the human intervention category in issue #504 . What this does:
eval_robot.py
script to run rollouts of the policy on the real robot.How it was tested:
In the main of the
eval_robot.py
we run theeval_policy
function that runs the robot's action in a fixed command (in the future this will be the policy actions). Once thespace
is pressed the actions are paused and message is written for the human to prepare the leader in a similar pose to take over. Once anotherspace
is pressed the teleoperation begins. The user can press the right arrow to move on to the next rollout or the left arrow to rerecord the episode.you can test it yourself by:
TODOs