Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

Here is the API documentation for the event system.

Here is a set of example event definitions.

Basic usage:

  1. Define an event (see gazebo/common/Events.hh for examples).

  2. Create a Connection, which registers a callback to an Event. Make sure to keep the Connection alive (don't destroy it), until you are done.

  3. Trigger the event, and the callback will be run.