Update SO100 URDF to match ROS 2 Conventions, while being ROS 2 agnostic#157
Open
adityakamath wants to merge 6 commits intoTheRobotStudio:mainfrom
Open
Update SO100 URDF to match ROS 2 Conventions, while being ROS 2 agnostic#157adityakamath wants to merge 6 commits intoTheRobotStudio:mainfrom
adityakamath wants to merge 6 commits intoTheRobotStudio:mainfrom
Conversation
ROS 2 convention (REP-103) expects +Z as the primary rotation axis for yaw joints and forward-axis alignment. The original OnShape export used Y-axis joints with frame rotations baked into joint origins, making integration with ros2_control and MoveIt non-standard. Frame convention changes: - Add Rz(π/2) visual rotation to base link to align meshes with ROS forward (+X) while keeping the joint frame Z-up - Add Rx(π/2)+Rz(π/2) visual rotation to shoulder link so the mesh aligns with the reoriented shoulder frame - Reorient shoulder inertial tensor (swap iyy/izz) to match - Change shoulder_pan axis from Y to Z — the standard yaw axis in REP-103 — and remove the compensating joint rpy - Transform shoulder_pan origin from (0,−0.0452,0.0165) to (0.0452,0,0.0165) to absorb the removed Rx(π/2) rotation - Absorb Rz(π/2) into shoulder_lift rpy so downstream joints remain consistent without additional frame changes Joint parameter updates: - Effort limits: 35→2.942 N·m (actual STS3215 stall torque) - Velocity limits: 1→5.216 rad/s (STS3215 no-load speed) Cleanup: - Remove ROS 1 transmission blocks
Removed comments regarding position mode and hardware specifications.
Contributor
Author
|
Similar updates to SO101 are in progress, but it includes a MuJoCo file that should also be updated and then tested. |
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.
ROS 2 convention (REP-103) expects +Z as the primary rotation axis for yaw joints and forward-axis alignment. The original OnShape export used Y-axis joints with frame rotations baked into joint origins, making integration with ros2_control and MoveIt non-standard. SO100 URDF fixed to satisfy ROS 2 conventions. I also added effort and velocity limits matching the 12v STS3215 motors.
Joint parameter updates:
Cleanup: