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

Control Dynamic Reconfigure from HTTP request GET/POST

asked 2018-04-28 15:11:28 -0500

hadi20107 gravatar image

Hi,

I'm quite new to ROS, I have done some example's using ROS and I really enjoy it. I'm working on a project where I use dynamic reconfigure to control variables.

I was wondering if there is any ways to control variables declared in dynamic reconfigure file with an HTTP request. I would like to use HTTP request as it will be easy to develop a custom app that would interface all my dynamic reconfigure variables.

For example, ROS and the app will be under the same network and user switch a button on the app, an HTTP request will be sent to ROS, then dynamic reconfigure will change the variable in ROS project.

Is that possible?

Thanks in advance

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-04-29 08:39:03 -0500

It's certainly possible, you'd just need to make a node which was a mini-HTTP server to handle the requests and interface with the dynamic reconfigure system. I don't know of any nodes which do this already.

You could use a HTTP server library to make this pretty quickly, have a look at the Onion http server library or libmicrohttpd.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2018-04-28 15:11:28 -0500

Seen: 239 times

Last updated: Apr 29 '18