How to change Hokuyo min and max angle values?
Hello everyone,
I have 40 Hz lidar Hokuyo UST-10LX and using in a custom robot. I successfully built a map using gmapping and amcl worked perfectly with this lidar.
My problem is about lidar configuration: Although I successfully used my lidar in amcl or gmapping, when I tried to set parameters using
param name="min_ang" type="double" value="-1.047"
param name="max_ang" type="double" value="1.047"
It seems it does not work. since After changed max and min angle values from above and I opened laser beams in rviz I still see same coverage in laser beams (i.e. Max and min angle DOESN'T CHANGE).
My Hokuyo launch file is as follows:
How can I change the max and min angle values of Hokuyo 10 LX? Thanks..
Asked by nightblue on 2015-10-06 04:30:07 UTC
Answers
According to the documentation the names of the parameters are angle_min
and angle_max
.
Asked by dornhege on 2015-10-06 05:00:04 UTC
Comments
Thank you, I had directly used min_ang and max_ang by just looking the beginning of the documentation, but after your notice I discovered the true parameter name in middle of doc. I tried angle_min and max and now it works!
Thanks...
Asked by nightblue on 2015-10-06 06:39:18 UTC
can you please specify where you changed those parameters.I am facing a similar problem!
Asked by Shashank_Rao on 2017-05-27 06:30:12 UTC
Shashank_Rao: run rosrun rqt_reconfigure rqt_reconfigure
opens a GUI to adjust the parameters.. If you wanna use the command line , use the rosparam command-line tool rosparam. Thanks
Asked by SpacemanSPIFF on 2017-05-30 17:19:23 UTC
Thanks i solved it by changing the params in the .gazebo file of my robot so i guess that works as well
Asked by Shashank_Rao on 2017-05-31 00:10:47 UTC
Comments