-
Notifications
You must be signed in to change notification settings - Fork 58
feat: add Unitree G1 demo script and robot description #356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
Tigul
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a designator that does exactly that please try to stick to the designators.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't add these robot specific files directly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These shouldn't be the same
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