youhuaxiangji

This commit is contained in:
2025-12-10 09:36:49 +08:00
parent 4e29a3926d
commit 450383cabb
4 changed files with 18 additions and 2 deletions

View File

@@ -126,6 +126,8 @@ from lerobot.utils.utils import (
from lerobot.utils.visualization_utils import init_rerun, log_rerun_data
from robot_client.robots.realman import RealmanRobot,RealmanRobotConfig
from robot_client.teleoperators.xbox import Xbox,XboxConfig
from robot_client.teleoperators.flight_stick import FlightStick,FlightStickConfig
@dataclass
@@ -412,7 +414,7 @@ def record(cfg: RecordConfig) -> LeRobotDataset:
else:
# Create empty dataset or load existing saved episodes
sanity_check_dataset_name(cfg.dataset.repo_id, cfg.policy)
dataset = LeRobotDataset.create(g
dataset = LeRobotDataset.create(
cfg.dataset.repo_id,
cfg.dataset.fps,
root=cfg.dataset.root,