Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulate real world latency in eval.py #260

Closed
wants to merge 6 commits into from

Conversation

alexander-soare
Copy link
Collaborator

@alexander-soare alexander-soare commented Jun 11, 2024

What this does

DRAFT. Sketching out what we think "latency" means in the rollout function of eval.py. On this basis, we we will design the infrastructure/logic for handling latency. After we've validated it in sim, we will validate it in the real world. Rinse and repeat till we have it right.

How it was tested

TBD

How to checkout & try? (for the reviewer)

Run: python lerobot/scripts/eval.py -p lerobot/diffusion_pusht eval.n_episodes=1 eval.batch_size=1 env.episode_length=100 policy.n_action_steps=15 +do_simulate_latency=true


This change is Reviewable

@alexander-soare alexander-soare marked this pull request as draft June 11, 2024 11:15
@Cadene Cadene self-requested a review June 11, 2024 11:51
@alexander-soare alexander-soare deleted the sim_latency branch August 27, 2024 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant