Home | Tutorials | Wiki | Issues
Ask Your Question
0

How to apply torque to a joint in code?

asked 2018-01-23 13:19:06 -0600

buttabrotha gravatar image

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-01-23 13:21:35 -0600

chapulina gravatar image

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=se...

edit flag offensive delete link more

Comments

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

buttabrotha gravatar imagebuttabrotha ( 2018-01-23 15:38:24 -0600 )edit

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

chapulina gravatar imagechapulina ( 2018-01-23 15:52:26 -0600 )edit

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

buttabrotha gravatar imagebuttabrotha ( 2018-01-23 17:44:02 -0600 )edit

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

chapulina gravatar imagechapulina ( 2018-01-23 17:53:02 -0600 )edit

do you know where i can find the updated tutorials?

buttabrotha gravatar imagebuttabrotha ( 2018-01-30 13:20:20 -0600 )edit

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

chapulina gravatar imagechapulina ( 2018-01-30 13:35:26 -0600 )edit

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.

buttabrotha gravatar imagebuttabrotha ( 2018-02-05 13:53:52 -0600 )edit
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2018-01-23 13:19:06 -0600

Seen: 1,205 times

Last updated: Jan 23 '18