feat: add Unitree G1 demo script and robot description#356
Open
sourinkrpal wants to merge 1 commit intocram2:devfrom
Open
feat: add Unitree G1 demo script and robot description#356sourinkrpal wants to merge 1 commit intocram2:devfrom
sourinkrpal wants to merge 1 commit intocram2:devfrom
Conversation
Tigul
requested changes
Nov 10, 2025
Collaborator
There was a problem hiding this comment.
Are these images used somewhere?
| obj.set_pose(PoseStamped.from_list([x, y, z], [0, 0, 0, 1])) | ||
| pause(wait) | ||
|
|
||
| def pick_and_place(robot, obj, pick_base, place_base, final_xyz, wrist_link): |
Collaborator
There was a problem hiding this comment.
There is a designator that does exactly that please try to stick to the designators.
Collaborator
There was a problem hiding this comment.
Please don't add these robot specific files directly
Collaborator
There was a problem hiding this comment.
Don't add the robot meshes instead link to the ROS package that contains these
| left_gripper = EndEffectorDescription( | ||
| "left_gripper", | ||
| "left_wrist_roll_rubber_hand", # palm | ||
| "left_wrist_roll_rubber_hand", # tool frame (temporary TCP) |
Collaborator
There was a problem hiding this comment.
These shouldn't be the same
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 introduces a new example showcasing the integration of the Unitree G1 humanoid robot with PyCRAM.
It adds the necessary robot description and a minimal pick-and-place demo in the BulletWorld simulation environment.
Added / Modified Files
demos/pycram_bullet_world_demo/g1_demo.py
resources/robots/g1/g1.urdf
robot_descriptions/g1_description.py
Usage
The demo runs identically to the existing PyCRAM examples.
1. Install PyCRAM (from the main README)
Follow the official installation guide:
👉 https://pycram.readthedocs.io/en/latest/installation.html
2. Activate the virtual environment
3. Run the Unitree G1 Demo
cd src/pycram/demos/pycram_bullet_world_demo python g1_demo.py