-
Notifications
You must be signed in to change notification settings - Fork 35
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
Added fixed models. #27
Conversation
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.
Thanks!
@gabrielenava do you think this can conflict with icub-gazebo-wholebody ?
fixed_model.config.in
Outdated
@@ -0,0 +1,11 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<model> | |||
<name>@ROBOT_NAME@_fixed (no hands)</name> |
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.
That (no hands)
is not ideal, but I see that you got it from the existing model.config.in
, so if we remove it we will remove it from both.
I can also quickly add the models with the fixed feet |
I don't think so, because in I propose an optional alternative: maybe we can edit the already existing fixed models to point the |
Mhh, note that can be more tricky as if I recall correctly you need to hardcode the height of the waist in the fixed model sdf to correctly write the constraints on the feet. |
To be honest, I am not a big fan of this alternative, as it would mean that to change the model that you use you need to reconfigure the project at the CMake level, and we are trying to support as much as possible also the use case of consuming this models from binaries. |
I think if we add the fixed models to So it is a go for me :-) |
Ah right. Does it make sense for it to touch the ground anyway? |
Yes, it is done to make sure that the feet are fixed, but in a way that they are aligned with the fixed ground of Gazebo. We can also just fix them on mid air. |
What if I avoid specifying again the pose? Does it take the one of the original model? If so, it would be enough to add the fixed links 🤔 |
I moved most of the logic directly inside the
The answer is yes, it takes the one from the urdf. So I also added the "feet_fixed" models. I noted anyway that the |
I think this is ready to be merged (even if I cannot). |
Perfect, thanks @S-Dafarra ! |
No description provided.