Skip to content

Commit 4c8f7ee

Browse files
committed
feat(sim): rename robot config and status to reflect genesis franka aio dora
Update the registered subclass names and device identifiers from "sim_franka_aio_dora" and "so101_aio_dora" to "sim_genesis_franka_aio_dora" for consistency with the simulation's naming convention. Also change the device body from "SO101" to "franka" to accurately represent the robot model.
1 parent 7fff77c commit 4c8f7ee

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

  • robodriver/simulations/robodriver-sim-genesis-franka-aio-dora/robodriver_sim_genesis_franka_aio_dora

robodriver/simulations/robodriver-sim-genesis-franka-aio-dora/robodriver_sim_genesis_franka_aio_dora/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from lerobot.motors import Motor, MotorNormMode
88

99

10-
@RobotConfig.register_subclass("sim_franka_aio_dora")
10+
@RobotConfig.register_subclass("sim_genesis_franka_aio_dora")
1111
@dataclass
1212
class SimFrankaAIODoraRobotConfig(RobotConfig):
1313
use_degrees = False

robodriver/simulations/robodriver-sim-genesis-franka-aio-dora/robodriver_sim_genesis_franka_aio_dora/status.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ def to_dict(self) -> dict:
6868
def to_json(self) -> str:
6969
return json.dumps(self.to_dict(), ensure_ascii=False)
7070

71-
@RobotStatus.register_subclass("so101_aio_dora")
71+
@RobotStatus.register_subclass("sim_genesis_franka_aio_dora")
7272
@dataclass
7373
class SO101AIODoraRobotStatus(RobotStatus):
74-
device_name: str = "so101_aio_dora"
75-
device_body: str = "SO101"
74+
device_name: str = "sim_genesis_franka_aio_dora"
75+
device_body: str = "franka"
7676

7777
def __post_init__(self):
7878
self.specifications.end_type = "二指夹爪"

0 commit comments

Comments
 (0)