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

How to change a topic name

asked 2014-02-19 05:43:55 -0600

Hamid Didari gravatar image

updated 2016-10-24 08:59:04 -0600

ngrennan gravatar image

Hi guys

I have two laser scanner and I want drive these with urg_node but I do not know how to change the topic name that urg_node published the laser scanner data.

I want to get data from two laser scanner in two different topic.

I didn't find any parameter that changes the topic name.

any suggestion about this?

Thanks.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-02-19 09:20:10 -0600

This can be done to any node with Topic Remapping (with roslaunch).

edit flag offensive delete link more

Comments

thanks man :)

Hamid Didari gravatar image Hamid Didari  ( 2014-02-20 07:28:41 -0600 )edit
2

answered 2014-02-19 10:17:58 -0600

updated 2014-02-19 10:20:27 -0600

@DanLazewatsky is correct, and his solution is likely the more-common use case. But it is also worth mentioning the topic_tools package.

edit flag offensive delete link more

Comments

thanks man :)

Hamid Didari gravatar image Hamid Didari  ( 2014-02-23 18:56:12 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-02-19 05:43:55 -0600

Seen: 10,648 times

Last updated: Feb 19 '14