Ask Your Question
0

Error in static_transform_publisher

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

papaclaudia gravatar image

Hi! I would a map with neato xv-11 and hector_slam in rviz. This is my launch file https://github.com/JanezCim/Neato-XV-... 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
0

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

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

Comments

Thank you!

papaclaudia gravatar imagepapaclaudia ( 2016-01-20 07:38:34 -0600 )edit
0

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

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

Comments

It works! Thank you so much!

papaclaudia gravatar imagepapaclaudia ( 2016-01-20 07:38:16 -0600 )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 imagefyi ( 2019-04-25 03:37:45 -0600 )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: 2016-01-19 12:00:56 -0600

Seen: 463 times

Last updated: Jan 19 '16