Ask Your Question
0

Configuring laser_filters parameters

asked 2018-03-13 13:14:31 -0500

JKaiser gravatar image

I want to use the LaserScanRangeFilter plugin of the laser_filters package, but I need to configure its parameters dynamically as I have to send the upper and lower thresholds from a remote device. My question is, how can I modify those parameters automatically? Is it possible to modify the .YAML file used to set the plugin up through C++ or Python nodes? Or do I have to write every parameter in the .launch file manually (and if so how could I write the tags corresponding to the actual plugin parameters)?

edit retag flag offensive close merge delete

Comments

How often do you need to change them? What is your remote device / how are you communicating your upper / lower bounds?

stevejp gravatar image stevejp  ( 2018-03-13 13:49:15 -0500 )edit

Device is a samsung tablet with android communicating with ROS through rosbridge. I only need to change parameters each time I start the main program of the robot

JKaiser gravatar image JKaiser  ( 2018-03-14 10:42:06 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-03-14 02:51:45 -0500

Delb gravatar image

I think #q10266 is what you're looking for.

Read the documentation of dynamic_reconfigure for more details.

edit flag offensive delete link more

Comments

dynamic_reconfigure won't let me configure the laser_filter node...

JKaiser gravatar image JKaiser  ( 2018-05-03 11:16:21 -0500 )edit

Can you be more explicit ? If you run rosrun dynamic_reconfigure dynparam list you don't have your node ?

Delb gravatar image Delb  ( 2018-05-04 01:47:02 -0500 )edit

No, It doesn't appear. Only the base Laser node appears, and the parameters that can be configured don't help me at all. The Laser_Filters node isn't listed at all. In the end I had to change the way my system interacted with the LaserScan data.

JKaiser gravatar image JKaiser  ( 2018-05-07 10:49:55 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-03-13 13:14:31 -0500

Seen: 192 times

Last updated: Mar 14 '18