mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-11 14:49:43 +00:00
keep teleop active in reset
This commit is contained in:
@@ -309,6 +309,8 @@ def reset_loop(
|
||||
):
|
||||
"""Reset period where human repositions environment."""
|
||||
print(f"\n[RaC] Reset time: {reset_time_s}s - reposition environment")
|
||||
print(" Teleop active - move leader arms to home position")
|
||||
teleop.disable_torque()
|
||||
|
||||
timestamp = 0
|
||||
start_t = time.perf_counter()
|
||||
|
||||
@@ -341,6 +341,8 @@ def reset_loop(
|
||||
):
|
||||
"""Reset period where human repositions environment."""
|
||||
print(f"\n[RaC] Reset time: {reset_time_s}s - reposition environment")
|
||||
print(" Teleop active - move leader arms to home position")
|
||||
teleop.disable_torque()
|
||||
|
||||
timestamp = 0
|
||||
start_t = time.perf_counter()
|
||||
|
||||
Reference in New Issue
Block a user