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

amcl publish frequency map-> odom

asked 2014-09-05 08:28:44 -0500

alex920a gravatar image

Hello! in my tf tree I have that between /map and /odom there's amcl that publish at 20Hz. How to increase this speed rate?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-09-05 09:00:41 -0500

bvbdort gravatar image

It depends on rate of incoming laser messages.

edit flag offensive delete link more

Comments

ok so where do I have to look? In the robot's urdf where is specified the laserscan? Or somewhere else?

alex920a gravatar image alex920a  ( 2014-09-05 09:12:28 -0500 )edit

its from your laser driver. or you can check your laser message frequency by using rostopic hz /lasertopicname

bvbdort gravatar image bvbdort  ( 2014-09-05 10:42:24 -0500 )edit

ok perfect! I'll check ! thanks!

alex920a gravatar image alex920a  ( 2014-09-05 13:13:43 -0500 )edit

where do I have to modify in order to increase frequency? In the urdf file I have : <sick_laser_v0 name="laser" parent="base" ros_topic="scan" update_rate="30" min_angle="-0.97" max_angle="0.97" l_x="0.5" l_y="0.0" l_z="0.25" l_r="0.0" l_p="0.0" l_yaw="0.0"/> <gazebo reference="laser_link">

alex920a gravatar image alex920a  ( 2014-09-07 04:54:58 -0500 )edit

I guess you are using simulator, i have no idead about gazebo. try changing update_rate. are you getting 30hz for rostopic hz /lasertopicname

bvbdort gravatar image bvbdort  ( 2014-09-07 06:36:18 -0500 )edit

Yes I'm using Gazebo. Still 20 hz after modifying update_rate to 30

alex920a gravatar image alex920a  ( 2014-09-07 17:14:46 -0500 )edit

Other comments?

alex920a gravatar image alex920a  ( 2014-09-09 06:00:23 -0500 )edit

may be you are not modifying right file. try modifying update rate in gazebo_ros_laser_controller plugin

bvbdort gravatar image bvbdort  ( 2014-09-09 06:58:46 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2014-09-05 08:28:44 -0500

Seen: 1,713 times

Last updated: Sep 05 '14