Skip to content

Add pinocchio capsules#36

Open
IoannisDadiotis wants to merge 22 commits intomasterfrom
add_pinocchio_capsules
Open

Add pinocchio capsules#36
IoannisDadiotis wants to merge 22 commits intomasterfrom
add_pinocchio_capsules

Conversation

@IoannisDadiotis
Copy link
Collaborator

This pull request is for generating a urdf for centauro that has maximum one collision object for each link but at the same time can be interpreted as capsule shape from various urdf-processing libraries, e.g. pinocchio. This is done by including only the cylinder objects in the urdf and adding a <collision_checking> tag that can be processed by pinocchio etc.

@IoannisDadiotis
Copy link
Collaborator Author

IoannisDadiotis commented Oct 24, 2022

The python script for generating the file is probably not the best one and for simplicity I just placed it at centauro_test.

@alaurenzi If you think that this PR should be merged feel free to improve or transfer the script where you think it fits better in this repo. Consider also if the script should be used for autogenerating the urdf file each time new files are generated

I have checked the generated collisions by visualizing the pinocchio::GeometryModel generated from the urdf. The capsules are the same as the ones in */centauro_capsule.urdf.
image

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.

3 participants