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

[franka_description] Docs say gazebo=true triggers use of paper's estimated paremters, but they are always used? #300

Closed
EricCousineau-TRI opened this issue Nov 20, 2022 · 1 comment

Comments

@EricCousineau-TRI
Copy link

EricCousineau-TRI commented Nov 20, 2022

From docs:
https://github.com/frankaemika/docs/blame/12fb63aa406b3e33dfc57a97ad5a5362e1ad8aad/source/franka_ros.rst#L36-L39

However, upon inspection, it looks like the inertial parameters are not dependent on the gazebo parameters?

<!-- Load inertial properties. Property is implicitly passed to macros. -->
<xacro:property name="inertial_config" value="$(find franka_description)/robots/common/inertial.yaml"/>
<xacro:property name="inertial" value="${xacro.load_yaml(inertial_config)}"/>

Is this intended? If so, can the docs be updated?
If not, can this possibly be fixed?

Relates
frankaemika/franka_ros2#11
https://www.franka-community.de/t/panda-dynamic-model/4573/3

@EricCousineau-TRI EricCousineau-TRI changed the title [franka_description] Docs say gazebo=true triggers use of paper's esimated paremters, but they are always used? [franka_description] Docs say gazebo=true triggers use of paper's estimated paremters, but they are always used? Nov 20, 2022
@gollth
Copy link
Contributor

gollth commented Jan 18, 2023

Hi @EricCousineau-TRI

sorry for the late reply. The inertia parameters are dependent on the gazebo arg but not in the place you searched for. Rather the condition is placed a little bit further down in the link_with_sc macro:

<xacro:if value="${gazebo}">
<xacro:inertial_props name="${name}" />
</xacro:if>

You can also verify that by simply inspecting the URDFs ;)

$ xacro $(rospack find franka_description)/robots/fr3/fr3.urdf.xacro | grep "<inertial>" | wc -l
0

$ xacro $(rospack find franka_description)/robots/fr3/fr3.urdf.xacro gazebo:=true | grep "<inertial>" | wc -l
8

I hope this answers your question. Feel free to reopen the ticket if not.

All the best

@gollth gollth closed this as completed Jan 18, 2023
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

No branches or pull requests

2 participants