Robotics StackExchange | Archived questions

local communication in Gazebo

I'm new to Gazebo. What's the easiest way to let the robots communicate with each other?

What I really need is local communication, meaning a robot will only be able to communication with another if they are within a certain range, say 1m, of each other.

Asked by z.xing on 2014-06-28 11:39:55 UTC

Comments

Answers

You could write a model plugin that communicates over a topic using a custom protobuf message that includes the sender's pose. The recipient of the message will have to check the pose to make sure it's within range.

Alternatively, you could write a World Plugin to manage communication. Use one topic for outbound traffic, which is received by the world plugin and passed along to robots that are within range on a different topic.

Asked by nkoenig on 2014-07-03 08:51:07 UTC

Comments