How setting parameters of a ROS program through a GUI ?
Hi,
I am using ROS and I have a package controlling a robot. Now I would like to create a GUI which would enable me to modify the parameters of my code. How can I do that ? I would also like to design the GUI but that's ok I've made tutorial of Qtcreator.
I have already made researches about rqt, creating a rqt plugin, using Qtcreator, Qtdesigner... I have also look about Qt app template. I also found things about Dynamic reconfigure plugin but it's not what I want.
But the thing is that I can't find anywhere explanations to help me to do what I want. I don't know how the code on Qt could interact with the parameters of my package.
EDIT : My problem is quite similar with this one but there is no answer.
EDIT : Nobody can help me ?
If Dynamic Reconfigure is not what you want, what are your functional requirements? The only thing that seems to be left is pre-setting parameters in a launch file and then launching that. But that won't let you change parameters during runtime.
I would like to design my own interface and not to use something already made like Dynamic Reconfigure. I would like to create cursors for example, to chose my parameters.
Another solution, even though not the typical "ROS way" is to provide a service server in your code that allows you to set the parameters via a service client from the GUI. However, this requires changes in every node wherein you want to change parameters.
I don't know of anything that already does what you want. If you don't want to use
dynamic_reconfigure
, you're going to have to create something yourself. dyn reconfig is all based on services, so you could see whether you could re-use those.Yes what I want is to make myself a GUI interacting with my code. I know that it is not so complicated but there is no tutorial and no explanations anywhere.
Piero-31: did you ever get your own GUI created? I also want to create my own GUI to interact with dynamic reconfigure parameters rather than using the rqt_reconfigure GUI.