Class GazeboRosBumper

Inheritance Relationships

Base Type

  • public gazebo::SensorPlugin

Class Documentation

class GazeboRosBumper : public gazebo::SensorPlugin

Bumper controller.

Public Functions

GazeboRosBumper() = default

Constructor.

~GazeboRosBumper() = default

Destructor.

void Load(gazebo::sensors::SensorPtr sensor, sdf::ElementPtr sdf)

Load the plugin.

Parameters:
  • sensor – pointer to the sensor to which the plugin is attached to

  • sdf – pointer to the sdf tree

Protected Functions

void OnUpdate()

Update the controller.