Gazebo | Ignition | Community
Ask Your Question
0

How to manipulate joints in a simple legged model

asked 2015-04-11 22:56:43 -0500

Cerin gravatar image

What's the easiest way to programmatically manipulate a legged model? Through the excellent "build a robot" tutorial, I was able to build a simple four-legged platform. How would I manipulating the limbs to test different gaits?

I've read through some of the other tutorials, and I'm a little confused on how to proceed. Do I write a model plugin, or connect it to ROS...or both?

I'm not trying to do anything fancy. I just want to be able to write a simple program to extend/retract/rotate legs in different sequences.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-04-12 14:39:19 -0500

chapulina gravatar image

A model plugin should work for you. Just use Joint::SetVelocity or Joint::SetForce.

See the DiffDrivePlugin for an example.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2015-04-11 22:56:43 -0500

Seen: 351 times

Last updated: Apr 12 '15