Ask Your Question
0

How can I change the publishing rate of a node when the node is running?

asked 2016-07-13 08:13:44 -0500

TAIMAZ gravatar image

I have a publisher and subscriber with a constant publishing rate. I want to change (increase or decrease) the publishing rate while the node is running ? I want to know if it is possible ? thank you

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-07-13 11:58:43 -0500

ahendrix gravatar image

The short answer is, if you have access to the source code for your node, you can make it do whatever you want.

Most users use dynamic_reconfigure for changing parameters at run time. If you create a dynamic_reconfigure parameter for your publishing rate, you can use the dynamic reconfigure gui to change it while the node is running.

edit flag offensive delete link more

Comments

thank you, it was very useful.

TAIMAZ gravatar imageTAIMAZ ( 2016-07-18 03:53:50 -0500 )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

Stats

Asked: 2016-07-13 08:13:44 -0500

Seen: 111 times

Last updated: Jul 13 '16