SMORES Robot Platform Simulation
Modlab at Penn, ASL at Cornell
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
gazebo::ContactSensor Class Reference

This class will be used in automatically connection under magnetic force. More...

#include <ContactPublisher.hh>

Inheritance diagram for gazebo::ContactSensor:

Public Member Functions

 ContactSensor ()
 Constructor.
 
 ~ContactSensor ()
 Destructor.
 
void Load (sensors::SensorPtr _sensor, sdf::ElementPtr _sdf)
 Load the sensor plugin. More...
 
void OnUpdate ()
 Callback that recieves the contact sensor's update signal.
 

Detailed Description

This class will be used in automatically connection under magnetic force.

The trigger condition of magnetic connections is the face contact of two modules

Member Function Documentation

void gazebo::ContactSensor::Load ( sensors::SensorPtr  _sensor,
sdf::ElementPtr  _sdf 
)

Load the sensor plugin.

Parameters
_sensorPointer to the sensor that loaded this plugin.
_sdfSDF element that describes the plugin.

The documentation for this class was generated from the following files: