Skip to content

Add mujoco folder with roomba data collection#810

Merged
gkielian merged 4 commits into
ReaLLMASIC:masterfrom
klei22:add-mujoco-folder-with-roomba-data-collection
May 11, 2026
Merged

Add mujoco folder with roomba data collection#810
gkielian merged 4 commits into
ReaLLMASIC:masterfrom
klei22:add-mujoco-folder-with-roomba-data-collection

Conversation

@klei22
Copy link
Copy Markdown
Collaborator

@klei22 klei22 commented May 9, 2026

This pull request adds a new requirements file for the MuJoCo Roomba project, specifying the necessary Python dependencies.

Dependency management:

  • Added a new mujoco/roomba_mujoco_requirements.txt file listing required packages: mujoco>=3.0, numpy, pillow, and imageio[ffmpeg].

klei22 added 2 commits May 8, 2026 09:28
This will help synthetic data collection for roomba based robots.
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new MuJoCo-based “Roomba” room simulation and dataset/video collection utility under mujoco/, along with a small companion requirements file to install the needed Python dependencies.

Changes:

  • Added mujoco/roomba_mujoco_collect.py: a MuJoCo room + Roomba-like agent simulation that can record annotated MP4 and a 16×16 grayscale CSV/GZip dataset, with optional multi-process collection.
  • Added mujoco/roomba_mujoco_requirements.txt listing the core runtime dependencies for the new script.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
mujoco/roomba_mujoco_requirements.txt Adds dependency list for running the MuJoCo Roomba collector.
mujoco/roomba_mujoco_collect.py Introduces the simulation + rendering + CSV/video dataset collection implementation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -0,0 +1,4 @@
mujoco>=3.0
Comment on lines +265 to +269
if args.view and args.num_workers > 1:
print("[info] --view uses a single interactive episode; forcing --num-workers 1 and --num-episodes 1.", file=sys.stderr)
args.num_workers = 1
args.num_episodes = 1
if args.view:
Comment on lines +627 to +628
return gzip.open(path, mode + "t", newline="")
return open(path, mode, newline="")
Comment on lines +905 to +909
def merge_csv_shards(shards: Sequence[Path], output_path: Path) -> None:
if not shards:
return
output_path.parent.mkdir(parents=True, exist_ok=True)
with open_csv_text(output_path, "w") as fout:
from pathlib import Path
import sys
import time
from typing import Any, Dict, Iterable, List, Optional, Sequence, Tuple
@gkielian gkielian merged commit 78243f0 into ReaLLMASIC:master May 11, 2026
10 checks passed
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.

3 participants