Ask Your Question
1

For dynamic reconfiguration, which is the main file?

asked 2017-09-05 09:56:19 -0500

MukulKhanna gravatar image

updated 2017-09-05 09:57:37 -0500

http://wiki.ros.org/dynamic_reconfigu...

In these tutorials, they have shown to create 1) a config file 2) a client file 3) a server file

I want to dynamically reconfigure the HSV values for upper range and lower range of a red color with my code. For that I understand that I need to make a config file first (after creating the package and all those basic stuff..)

But then, other than that, do I need to have these two files -client file and server file other than my main node (that contains the code and where the variables to be configured exist originally)

OR

The main node is basically the client one?

OR

Is it the server one?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2017-09-05 12:50:12 -0500

lucasw gravatar image

Your existing node that does things with a color red will become the dynamic reconfigure server, which will allow other clients to connect to it and tell it to change those HSV values.

The client could be the rqt dynamic reconfigure plugin, so you don't need to write your own client unless you want to control those values through a script or code rather than the rqt gui.

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

2 followers

Stats

Asked: 2017-09-05 09:56:19 -0500

Seen: 168 times

Last updated: Sep 05 '17