Class GazeboRosIrOpcode

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

  • public gazebo::ModelPlugin

Class Documentation

class GazeboRosIrOpcode : public gazebo::ModelPlugin

Public Functions

GazeboRosIrOpcode()

Constructor.

virtual ~GazeboRosIrOpcode()

Destructor.

void Load(gazebo::physics::ModelPtr model, sdf::ElementPtr sdf) override

Gazebo calls this when the plugin is loaded.

Parameters:
  • model – Pointer to parent model. Other plugin types will expose different entities, such as gazebo::sensors::SensorPtr, gazebo::physics::WorldPtr, gazebo::rendering::VisualPtr, etc.

  • sdf – SDF element containing user-defined parameters.

void OnUpdate(const gazebo::common::UpdateInfo &info)

Callback to be called at every simulation iteration.

Parameters:

info – Object containing the world name, sim time and the real time of simulation.