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

tag <max_force> in coman.sdf is read but ignored #24

Closed
alessandrosettimi opened this issue Nov 5, 2013 · 2 comments
Closed

tag <max_force> in coman.sdf is read but ignored #24

alessandrosettimi opened this issue Nov 5, 2013 · 2 comments

Comments

@alessandrosettimi
Copy link
Contributor

For using setVelocity you must set the maxforce with:

joint->SetMaxForce(0, 200);
joint->SetVelocity(0,toRad(ref));

instead, it should be read in the .sdf using:

<joint name="LElbj" type="revolute">
   ...
   <physics>.
    ...
    <ode>
     ...
       <max_force>200</max_force>
     ...
    </ode>
   </physics>
  </joint>

max_force is read by gazebo, but not used to set the internal variable. No idea why.

@EnricoMingo
Copy link
Member

The maximum force is set in the coman.urdf.xacro (is about 55 Nm). Don't know why is not used automatically but probably you can get it.

@traversaro
Copy link
Member

Outdated issue (for more information check #27 ).

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

No branches or pull requests

3 participants