Ask Your Question

ros_control loops with different frequency

asked 2014-09-18 07:17:02 -0600

arennuit gravatar image

Hi all,

Is it possible to specify loops with different frequencies in ros_control?

More specifically I am thinking about a low-level loop for motor control (I am thinking something like 200 1000Hz) and a somehow higher level loop for differential or mecanum drive control (something between 30Hz and 100Hz)?

These loops can both use ros_control but the higher the level, the slower the requirements for the speed of the loop...



edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-09-18 09:28:08 -0600

gvdhoorn gravatar image

See Controllers at different update rates in ros_control, which contains a reference to ros_control/pull/127: "Added optional per-controller update period".

edit flag offensive delete link more


The referenced pull request is indeed what you should be looking at. I believe the implementation is there, but is lacking test coverage. Adding this missing bit would fast track the merging process, otherwise it might sit there until someone has the cycles to pull it through.

Adolfo Rodriguez T gravatar image Adolfo Rodriguez T  ( 2014-09-22 07:48:38 -0600 )edit

Hi guys, thanks for your help, I'll have a look at these.

arennuit gravatar image arennuit  ( 2014-09-24 02:34:59 -0600 )edit

Question answered?

gvdhoorn gravatar image gvdhoorn  ( 2014-09-24 03:11:12 -0600 )edit

and marked as such ;)

arennuit gravatar image arennuit  ( 2014-09-24 03:33:21 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-09-18 07:17:02 -0600

Seen: 255 times

Last updated: Sep 18 '14