Skip to content

Support capsule geometry in robot links#1735

Open
mzl2233 wants to merge 2 commits into
ros2:rollingfrom
mzl2233:fix/support-capsule-geometry
Open

Support capsule geometry in robot links#1735
mzl2233 wants to merge 2 commits into
ros2:rollingfrom
mzl2233:fix/support-capsule-geometry

Conversation

@mzl2233
Copy link
Copy Markdown

@mzl2233 mzl2233 commented May 15, 2026

This adds handling for URDF capsule geometry in the robot model link renderer so capsule visuals and collision geometry no longer fall through to the unsupported geometry path. The implementation follows the existing cylinder handling and sizes the rendered primitive using the capsule radius plus its cylindrical length.

@ahcorde
Copy link
Copy Markdown
Contributor

ahcorde commented May 15, 2026

Related with #1734

Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
@ahcorde
Copy link
Copy Markdown
Contributor

ahcorde commented May 15, 2026

I included same changes to be able to use a capsule instead of a cylinder.

@mzl2233 do you mind to take a look ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants