We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b07160e commit 58f70b6Copy full SHA for 58f70b6
src/lerobot/scripts/lerobot_teleoperate.py
@@ -170,12 +170,13 @@ def teleop_loop(
170
# Display the final robot action that was sent
171
for motor, value in robot_action_to_send.items():
172
print(f"{motor:<{display_len}} | {value:>7.2f}")
173
- move_cursor_up(len(robot_action_to_send) + 5)
+ move_cursor_up(len(robot_action_to_send) + 3)
174
175
dt_s = time.perf_counter() - loop_start
176
precise_sleep(1 / fps - dt_s)
177
loop_s = time.perf_counter() - loop_start
178
- print(f"\ntime: {loop_s * 1e3:.2f}ms ({1 / loop_s:.0f} Hz)")
+ print(f"Teleop loop time: {loop_s * 1e3:.2f}ms ({1 / loop_s:.0f} Hz)")
179
+ move_cursor_up(1)
180
181
if duration is not None and time.perf_counter() - start >= duration:
182
return
0 commit comments