Gazebo | Ignition | Community
Ask Your Question
0

TCP vs Plugin interface. What is better?

asked 2013-07-01 12:56:51 -0600

Olzhas gravatar image

updated 2013-07-01 12:57:23 -0600

According to official documentation there are two ways for an interaction with a robot in simulation: TCP and Plugin interface. What is better? Could you write pros and cons of each. And what will be easier to integrate with real robot?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-07-01 17:57:28 -0600

nkoenig gravatar image

The two ways of interaction are very different, and are designed to facilitate different use cases.

A plugin has direct access to the Gazebo internals through the C++ api. A plugin also runs in the same process as Gazebo.

Message passing does not have direct access to the C++ api, but it does allow you to run code in a separate process (or on a different machine) from Gazebo.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-07-01 12:56:51 -0600

Seen: 204 times

Last updated: Jul 01 '13