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

Error in static_transform_publisher

asked 2016-01-19 12:00:56 -0500

papaclaudia gravatar image

Hi! I would a map with neato xv-11 and hector_slam in rviz. This is my launch file but when I type "$ rosrun tf static_transform_publisher" I have this message "static_transform_publisher exited due to not having the right number of arguments". What is it? Thanks.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-01-19 12:51:07 -0500

mgruhler gravatar image

You need to tell the static_transform_publisher which transform it should publish. Check out the tf wiki page here.

edit flag offensive delete link more


Thank you!

papaclaudia gravatar image papaclaudia  ( 2016-01-20 07:38:34 -0500 )edit

answered 2016-01-19 15:06:12 -0500

lalten gravatar image

From ROS wiki on tf:

$ rosrun tf static_transform_publisher x y z yaw pitch roll frame_id child_frame_id period_in_ms
edit flag offensive delete link more


It works! Thank you so much!

papaclaudia gravatar image papaclaudia  ( 2016-01-20 07:38:16 -0500 )edit

do you get searchdir angle too large? i had the same problem but now my map is jumping around and in the terminal it says searchDir angle too large

fyi gravatar image fyi  ( 2019-04-25 03:37:45 -0500 )edit

Question Tools

1 follower


Asked: 2016-01-19 12:00:56 -0500

Seen: 1,672 times

Last updated: Jan 19 '16