Repository navigation
refactor!: move to extension cleanup and hardware creation registry pattern - #343
Merged
Merged
Conversation
…dentity calibration strategy
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.
juelg
force-pushed
the
refactorings_v08
branch
from
November 20, 2026 23:45
532174e to
ee87c7b
Compare
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.
This was referenced Nov 21, 2026
This was referenced Nov 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.