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

How to add prefix to every copter in Erle-brain using Mavros

asked 2017-08-07 11:58:15 -0500

Sol gravatar image

updated 2017-09-08 09:26:36 -0500

jayess gravatar image

So, i have bought Erle-brain v3 that included ROS kinetic. Erle-brain automatically runs roscore. And i don't understand how to rename topics (or add prefix). It needed for dividing topics`information from each other. I mean, we have for example list of topics:

/mavros/global_position/global

/mavros/imu/data

etc.

And i want to get:

/copter1/mavros/global_position/global

/copter1/mavros/imu/data

...........

/copter2/mavros/global_position/global

/copter2/mavros/imu/data

...........

Maybe i must somehow disable autorun of roscore? Or do something in bin directory. (sorry for maybe uncorrect question: newbie)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-09-08 09:28:36 -0500

jayess gravatar image

You can remap topics using the remap tag in your launch files.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-08-07 11:58:15 -0500

Seen: 245 times

Last updated: Sep 08 '17