Skip to content

refactor!: move to extension cleanup and hardware creation registry pattern - #343

Merged
juelg merged 16 commits into
masterfrom
refactorings_v08
Nov 21, 2026
Merged

juelg merged 16 commits into
masterfrom
refactorings_v08

Conversation

@juelg

@juelg juelg commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor
  • chores: move digit in own extension, move tilburg hand in own extension, added hand type
  • refactor!: hardware registry pattern to avoid camera creator in each hardware extension
  • refactor!: calibration strategy true type and default rename -> this breaks code that has set explicit calibration types
  • added rizon cpp constants types
  • feat: grav comp ignore in mjspec builder
  • flexiv types as constants
  • ur5 robotiq, extra gripper type
  • fix panda using fr3 franka hand config
  • fix extension versions and docs

juelg added 11 commits November 20, 2026 15:43
rcs_flexiv still carried its own copy of the hardware camera creation
and used DummyCalibrationStrategy, which is now
IdentityCalibrationStrategy, so importing its creators failed. Cameras
are now created with rcs.camera.hw.create_hardware_camera_set like in
the other extensions. RealSense cameras keep identity calibration, as
that is the default without an explicit calibration.
The Flexiv robot and gripper types were the only built-in types without
a constant in the bindings and were created from strings. They now have
constants like all other types, and all callers use the constants.
SimEnvCreatorConfig.gravcomp_ignore lists ids of camera_adds and
robot_frame_objects that are not gravity-compensated even when
add_gravcomp is set, e.g. a wrist camera and its mount that the
controller of the real robot does not compensate. The simulated arm
then carries them as an uncompensated load, like the real robot.
Unknown ids raise. The default is empty, so existing configs are
unchanged.
The UR5e env creator resolved its Robotiq2F85 gripper config through the
registry to the rcs_robotiq2f85 factory, which drives the gripper over a
serial port and rejects the UR gripper config. The Robotiq 2F-85 on the
UR is driven through the UR controller (Robotiq URCap), so it gets its
own gripper type Robotiq2F85UR, which rcs_ur5e registers as an
rcs.grippers entry point and which RobotiQGripperConfig uses by default.
The arm can still be created without a gripper or with any other
registered gripper.
rcs_panda's FHConfig is built from the fr3 sources, so its gripper type
defaults to FrankaHand. A hand config without an explicitly set
PandaHand type was resolved to rcs_fr3's FrankaHand factory, which
rejects it or is not installed. The panda env creator now creates the
panda hand for every rcs_panda FHConfig and uses the gripper registry
for all other gripper configs.
rcs_digit and rcs_tilburg_hand were at 0.7.3 and the __version__ of
rcs_usb_cam and rcs_zed at 0.5.2 and 0.6.3, while everything else is at
0.7.4. Commitizen bumps by replacing the current version in the version
files, so these were not bumped. All version files now carry 0.7.4.
The tilburg hand docs still passed THConfig as gripper_cfg, which now
goes to the gripper registry. The arm creators take it as hand_cfg. The
registry docstring used FrankaHand of rcs_fr3 and rcs_panda as an
example of a duplicate id, but rcs_panda now registers PandaHand.
@juelg juelg changed the title chore: refactorings for v0.8 reactor!: move to extension cleanup and hardware creation registry pattern Nov 21, 2026
@juelg
juelg merged commit abc7a7b into master Nov 21, 2026
15 checks passed
@juelg juelg changed the title reactor!: move to extension cleanup and hardware creation registry pattern refactor!: move to extension cleanup and hardware creation registry pattern Nov 21, 2026
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