Robotics StackExchange | Archived questions

How to apply torque to a joint in code?

I am attempting to apply torque to a wheel in code while using only gazebo. No ROS.

Asked by buttabrotha on 2018-01-23 14:19:06 UTC

Comments

Answers

This tutorial shows a few different approaches to setting velocity and a lot of it can be used to set force:

http://gazebosim.org/tutorials?tut=set_velocity

Asked by chapulina on 2018-01-23 14:21:35 UTC

Comments

is this tutorial suitable for gazebo 8? I keep getting errors: SetLinkVelocityPlugin.cpp:51:65: error: call of overloaded

Asked by buttabrotha on 2018-01-23 16:38:24 UTC

Ah sorry about that, the tutorial needs to be updated for Gazebo 8+, we will probably get to it in the coming days during the tutorial party: https://community.gazebosim.org/t/gazebo-9-tutorial-party

Asked by chapulina on 2018-01-23 16:52:26 UTC

the above link is private. also is there a way i can participate in this tutorial party?

Asked by buttabrotha on 2018-01-23 18:44:02 UTC

Oh sorry, this website adds garbage to the end of links, try copying and pasting the URL in the browser

Asked by chapulina on 2018-01-23 18:53:02 UTC

do you know where i can find the updated tutorials?

Asked by buttabrotha on 2018-01-30 14:20:20 UTC

The link I posted before is the latest, i.e. http://gazebosim.org/tutorials?tut=set_velocity <- this one

Asked by chapulina on 2018-01-30 14:35:26 UTC

I'm not so sure the tutorial has been updated. I keep getting this "use of undeclared identifier" error around the math and physics engine libraries when i used gazebo8 or 9 but 7 runs fine.

Asked by buttabrotha on 2018-02-05 14:53:52 UTC