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

Revision history [back]

click to hide/show revision 1
initial version

You cannot put a main() in a Gazebo plugin because it runs as part of Gazebo's main(). You'd have to put your publish functions in one of the interface methods (probably the update() method).