refactor!: unify env/scenes API across robots and restructure assets#283
Merged
refactor!: unify env/scenes API across robots and restructure assets#283
Conversation
- restructure assets: clearer structure and only contain absolute minimum for RCS examples - updated actuators in so101 - reset ur5e, fr3 and panda to original menagerie xml - added gravcomp script that can add and remove gravity compensation - removed gravity compensation of all xmls as this will be done in the composer
- removed meta robot config due to limited extensibility - moved q_home and joint_limits to robot config - refactored robot type: now class based for python extensibility - readded wrapper configs: home_on_reset for robot wrapper and binary from gripper wrapper, they need to be extra configs for composition and not part of the robot/gripper config
- added scenes api - fixed quaternion bug in composer - fixed bug in add prefix of sim robot config in attachment site - kinematic file is no longer default urdf but mjcf - added panda to robot type - SimRobotConfig: added missing dof, joint_limits and q_home
- add gravity compensation for joints and bodies - add gravity compensation in scene api - fix: integrator implicit fast in scene xml
- added scene paths dict - moved attachment site to add gripper in model composer - simscene: moved mjcf composition to load_scene - simscene: added option to load seperate robot mjcf different from robot config, this allows for example to have two arms which are represented in one model
- fix: action and observation space exposing in multi robot wrapper - fix: sim camera config was missing copy and was returning base config when deepcopy - feat: added camera adding to sim scene api - example: added cameras to the scene.py fr3 empty world example
- also fixed camera config in franka.py teleop script
39c7d18 to
2b4898b
Compare
2b4898b to
02497d2
Compare
330e711 to
9536298
Compare
This was referenced Apr 23, 2026
Closed
Closed
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.
Summary
This PR is a large refactor that brings the environment/scenes stack to a unified config + creator model across robots, updates examples/docs accordingly, and restructures the assets layout for cleaner composition and reuse.
What Changed
Core API and Architecture
python/rcs/envs/configs.pypython/rcs/envs/scenes.pypython/rcs/envs/sim.pypython/rcs/envs/creators.py(deleted)Robot Extensions
RCSEnvCreator+ config approach.Simulation and Composer
Assets and Scene Layout
Examples, Tests, and Docs
Breaking Changes
python/rcs/envs/creators.py).ParallelPickTaskpath changes).Notes for Review
python/rcs/envs/*andpython/rcs/sim/composer.pyextensions/rcs_*/*