ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

ros_control loops with different frequency

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

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...

Thanks,

Antoine.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

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

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

Comments

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 -0500 )edit

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

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

Question answered?

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

and marked as such ;)

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

Question Tools

1 follower

Stats

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

Seen: 582 times

Last updated: Sep 18 '14