ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

can i control the speed of ros running?

asked 2014-12-23 04:38:17 -0500

mudassar gravatar image

Can I control the speed of ros running on my PC? I have ros hydro installed on ubuntu 12.04 LTS. For some reason, I wish to change the speed of ros running on my system (say i wish to speed up or speed down the code-running at the back end of my ros package, i.e; controlling the ros running speed). Is that possible?

A solution without modification of package code is highly desirable.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-12-23 06:36:36 -0500

Wolf gravatar image

What speed exactly do your what to reduce?

If you want to reduce the rate at which a message callback is being called, you can use topic_tools throttle:

If you want to adjust an internal loop you can embed a ros::Rate, call .sleep() on it like in the tutorial ( ) and use a ros parameter to set the loop rate in your node from the param server without having to change your code....

edit flag offensive delete link more

answered 2014-12-23 05:51:26 -0500

mutzechai gravatar image

First, it would be useful for us to know which kind of application you're developing. I don't think the speed of ros running can be set

edit flag offensive delete link more

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-12-23 04:38:17 -0500

Seen: 495 times

Last updated: Dec 23 '14