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

Configure frame IDs for mavros local_position/odom

asked 2017-02-12 19:20:39 -0600

janindu gravatar image

Hi,

I have a system of 4 UAVs with 4 pixhawks and 4 on-board computers. A ground station is controlling the ROS master. I have a problem managing UAV poses. Mavros publishes local_position/odom with child frame ID 'base_link'. Since I have 4 UAVs operating in the same ROS space, this is a problem.

I looked through the documents but did not see how to set a parameter for child frame ID. Is there such parameter that I have missed? If there isn't then running a node which listens to the topics (topics are namespaced with /uav1, /uav2 etc) and republish to a new topic with new frame IDs (naive, I know) the best way to approach this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-02-14 11:43:56 -0600

vooon gravatar image

Did you read http://wiki.ros.org/mavros#mavros.2BA... ?

You need modified config.yaml for each drone node.

edit flag offensive delete link more

Comments

I'm not familiar with yaml files can you explain how little further? is changing parameter through launch file to frame_id whatever I want is ok?

Doolly gravatar image Doolly  ( 2017-08-16 20:16:01 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2017-02-12 19:20:39 -0600

Seen: 2,119 times

Last updated: Feb 14 '17