Gazebo | Ignition | Community
Ask Your Question

Explaining of the work of physics::JointController

asked 2016-02-19 20:29:22 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I'm want to use PID in my plugin. I use common::PID and it's work fine, and I see that JointController use PID too. But I have problem with compiling plugin with JointController. I think I'm don't understand how to work with explicit constructors. Can anyone show a simple example ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-02-22 11:39:54 -0500

chapulina gravatar image

From a model plugin, you can get a pointer to the model's JointController with:


See an example here

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-02-19 20:29:22 -0500

Seen: 378 times

Last updated: Feb 22 '16