Robotics StackExchange | Archived questions

Set Position of Joint using C++ API

How to set position of joint using C++ API ? I found, joint->SetPosition(index, position/angle);

But, is there any other efficient way/function to set position of joint ?

Asked by Gaurav on 2019-12-18 03:53:37 UTC

Comments

Answers

You may write a controller using ros_control plugin and define an effort or position controller. You will have the possibility to set up the parameters of your controller (e.g. PID gains) so you will control the parameters regarding the convergence to the desired value for your joint.

Asked by eaucone on 2020-01-08 13:14:25 UTC

Comments