Ask Your Question
0

Changing dynamic_reconfigure parameters using rosbridge

asked 2018-04-27 15:18:12 -0500

Ricardo Angeli gravatar image

I'm developing a node that includes some dynamically-reconfigurable parameters. Eventually, I will write a JavaScript GUI that uses roslibjs and rosbridge to interface with this node and the rest of my robot. I understand that dynamic_reconfigure uses ROS services to change the parameters during runtime.

Are there any examples of using roslibjs (or anything that talks to rosbridge) to change dynamically reconfigurable parameters? I would be grateful to know if this is even possible, because if it isn't, I will have to design my node differently.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-05-14 15:52:06 -0500

Ricardo Angeli gravatar image

I've investigated this issue on my own. I couldn't find any existing examples of doing this, however I found that it is indeed possible. The dynamic_reconfigure package uses a service called dynamic_reconfigure/Reconfigure.srv. Since roslibjs can execute services, it can indeed interface with dynamic_reconfigure.

I've taken the time to write a thorough tutorial on how this is done within the roslibjs wiki. It can be found here.

It would be nice to have a dynamic_reconfigure API within roslibjs instead of using raw service calls, so I created an issue found here if somebody wishes to implement this functionality.

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

3 followers

Stats

Asked: 2018-04-27 15:18:12 -0500

Seen: 111 times

Last updated: Apr 27 '18