dynamic reconfigure for servo position control in runtime.

asked 2018-03-06 17:38:52 -0500

Spartan_007 gravatar image

updated 2018-03-06 18:16:24 -0500

Hi,

I want to control a servo's two extreme positions in runtime. I looked into both dynamic_reconfigure as well as actionlib. It seems that I could use both, but I am not very sure of which one would be best suitable. The problem is as follows:

  1. I use dynamixel_controller package to run the servo. it's position data are fed through a .yaml file, which is called as rosparam in the launch file.

  2. In my application, I want to change the servo's extreme positions in run time. I have written another package to work with lidar's pointcloud that subscribes servo /state topic to know servo positions. I know this dynamic position updates and the two limit points where I want to set the servo. But, I am not sure how to provide that input to the dynamixel controller's position parameters in run time.

  3. BTW, dynamixel_controller is written in python and my package is written in c++.

thanks,

edit retag flag offensive close merge delete