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

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

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)


The main node is basically the client one?


Is it the server one?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

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

Question Tools



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

Seen: 416 times

Last updated: Sep 05 '17