Gazebo | Ignition | Community
Ask Your Question

member of one class pointing to member of another class

asked 2016-09-04 06:03:53 -0500

hari1234 gravatar image

updated 2016-09-04 06:05:14 -0500

I was trying to understand the lines in the file from this tutorial, Here i saw this line which confuse me:


Here how can a GetJointController() member function of JointController Class can point to SetVelocity() member function of Class Joint, without any relation.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-09-04 06:29:21 -0500

Georacer gravatar image

You are slightly confused: SetVelocityPID() is a member function of JointControllerclass, as seen on the API: http://osrf-distributions.s3.amazonaw...

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-09-04 06:03:53 -0500

Seen: 287 times

Last updated: Sep 04 '16