From 36dd279cbfd2b3ff9fdd108180fc6bcb08bc08eb Mon Sep 17 00:00:00 2001 From: doctor Date: Thu, 5 Mar 2026 11:38:10 -0800 Subject: [PATCH] fix: add INNATE_CONFIG to rfx.robot re-exports --- rfx/python/rfx/robot/__init__.py | 2 ++ rfx/tests/test_deploy.py | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/rfx/python/rfx/robot/__init__.py b/rfx/python/rfx/robot/__init__.py index 5c68999..1ab6473 100644 --- a/rfx/python/rfx/robot/__init__.py +++ b/rfx/python/rfx/robot/__init__.py @@ -194,6 +194,7 @@ def __repr__(self) -> str: from .config import ( # noqa: E402 G1_CONFIG, GO2_CONFIG, + INNATE_CONFIG, SO101_CONFIG, CameraConfig, JointConfig, @@ -213,6 +214,7 @@ def __repr__(self) -> str: "SO101_CONFIG", "GO2_CONFIG", "G1_CONFIG", + "INNATE_CONFIG", "load_config", "URDF", "discover_ports", diff --git a/rfx/tests/test_deploy.py b/rfx/tests/test_deploy.py index ce28749..fe81b7b 100644 --- a/rfx/tests/test_deploy.py +++ b/rfx/tests/test_deploy.py @@ -1525,6 +1525,11 @@ def test_all_values_are_robot_configs(self) -> None: for key, cfg in _BUILTIN_CONFIGS.items(): assert isinstance(cfg, RobotConfig), f"{key} is not a RobotConfig" + def test_innate_importable_from_robot_module(self) -> None: + from rfx.robot import INNATE_CONFIG + + assert INNATE_CONFIG.name == "Innate" + # --------------------------------------------------------------------------- # _WrapCallable.__call__ forwarding