Class GazeboRosCliffSensor

Inheritance Relationships

Base Type

  • public gazebo::SensorPlugin

Class Documentation

class GazeboRosCliffSensor : public gazebo::SensorPlugin

Public Functions

GazeboRosCliffSensor() = default

Constructor.

~GazeboRosCliffSensor() = default

Destructor.

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

Called when plugin is loaded.

Parameters:
  • parent – Pointer to the parent sensor to which the plugin is attached

  • sdf – Take in SDF root element

void Reset() override

Reset variables on Reset event.

Protected Functions

virtual void OnNewLaserScans()

Update the controller.