Skip to content
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

Fix some bugs in the python script for generating urdf files #117

Merged
merged 4 commits into from
Sep 25, 2020

Conversation

GiulioRomualdi
Copy link
Member

This PR fixes some bugs in generate_stairs_urdf.py and GenerateAndAddUrdfModel.cmake

Comment on lines +19 to +21
self.length = size[0]
self.width = size[1]
self.height = size[2]
Copy link
Member

@S-Dafarra S-Dafarra Sep 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To avoid the same problem again, how did you determine this relation? Any piece of documentation worth to be linked?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To avoid the same problem again, how do you determined this relation? Any piece of documentation worth to be linked?

Actually my first idea was having a vector containing [x y z] dimensions that I called [length width height] then by mistake I confused the index.
I tried to replicate the order in the urdf file. I can add some documentation there

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here I added some documentation 016b8ca, let me know if it's fine

@GiulioRomualdi GiulioRomualdi merged commit 910427e into ami-iit:master Sep 25, 2020
@GiulioRomualdi GiulioRomualdi deleted the fix/python_script branch September 25, 2020 07:29
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