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

Using rosservice from webui

asked 2011-05-08 21:56:11 -0500

chen gravatar image

updated 2011-05-09 22:28:00 -0500

Hi

Does anyone have tried to change parameter of dynamic_reconfigure from webui?

For example , I could't figure out how to change prosilica_diver/set_parameters. Of course I can change it from command line like below.

   rosservice call /prosilica_driver/set_parameters '{config:{ints:[[x_offset,0],[y_offset,0],[width,0],[height,0]]}}'

but calling from webui(ros.js) as followings did not works.

    gPump.service_call("prosilica_driver/set_parameters",
                       [[["auto_exposure",true]],
                        [["x_offset",pxoffset]],
                        [["trigger_mode","polled"]],
            [["trig_rate",15.0]]
                        ]);

thanks,

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2011-06-17 11:10:41 -0500

Straszheim gravatar image

Webui was, at one point, for "internal use only". At this point it is completely unsupported...

edit flag offensive delete link more
0

answered 2011-08-02 17:51:37 -0500

chen gravatar image

Hi,

I finally found the solution. gPump.service_call2() works fine with this problem.

Thanks, H. Chen

edit flag offensive delete link more

Comments

Great! Can you be sure to update the wiki for the rest of us who are trying to use the webui?
David Lu gravatar image David Lu  ( 2011-08-03 06:36:21 -0500 )edit

Question Tools

Stats

Asked: 2011-05-08 21:56:11 -0500

Seen: 328 times

Last updated: Aug 02 '11