Public Member Functions | Private Member Functions | Private Attributes | List of all members
gazebo::ROSConveyorController Class Reference
Inheritance diagram for gazebo::ROSConveyorController:
Inheritance graph
[legend]

Public Member Functions

void Load (physics::WorldPtr _parent, sdf::ElementPtr)
 
 ~ROSConveyorController ()
 

Private Member Functions

void OnLogicalCameraImage (const osrf_gear::LogicalCameraImage::ConstPtr &_msg)
 
void OnSensorStateChange (const osrf_gear::Proximity::ConstPtr &_msg)
 
void SendControlRequest (double velocity)
 

Private Attributes

double beltVelocity
 
ros::Subscriber breakBeamSub
 
ros::ServiceClient controlClient
 
ros::Subscriber logicalCameraImageSub
 
bool modelDetected = false
 
ros::Subscriber proximitySensorSub
 
ros::NodeHandlerosnode
 
std::string searchModelType = "unit_box"
 
physics::WorldPtr world
 

Detailed Description

Definition at line 33 of file ROSConveyorController.cc.

Constructor & Destructor Documentation

gazebo::ROSConveyorController::~ROSConveyorController ( )
inline

Definition at line 46 of file ROSConveyorController.cc.

Member Function Documentation

void gazebo::ROSConveyorController::Load ( physics::WorldPtr  _parent,
sdf::ElementPtr   
)
inline

Definition at line 51 of file ROSConveyorController.cc.

void gazebo::ROSConveyorController::OnLogicalCameraImage ( const osrf_gear::LogicalCameraImage::ConstPtr &  _msg)
inlineprivate

Definition at line 111 of file ROSConveyorController.cc.

void gazebo::ROSConveyorController::OnSensorStateChange ( const osrf_gear::Proximity::ConstPtr &  _msg)
inlineprivate

Definition at line 93 of file ROSConveyorController.cc.

void gazebo::ROSConveyorController::SendControlRequest ( double  velocity)
inlineprivate

Definition at line 102 of file ROSConveyorController.cc.

Member Data Documentation

double gazebo::ROSConveyorController::beltVelocity
private

Definition at line 40 of file ROSConveyorController.cc.

ros::Subscriber gazebo::ROSConveyorController::breakBeamSub
private

Definition at line 38 of file ROSConveyorController.cc.

ros::ServiceClient gazebo::ROSConveyorController::controlClient
private

Definition at line 36 of file ROSConveyorController.cc.

ros::Subscriber gazebo::ROSConveyorController::logicalCameraImageSub
private

Definition at line 42 of file ROSConveyorController.cc.

bool gazebo::ROSConveyorController::modelDetected = false
private

Definition at line 44 of file ROSConveyorController.cc.

ros::Subscriber gazebo::ROSConveyorController::proximitySensorSub
private

Definition at line 37 of file ROSConveyorController.cc.

ros::NodeHandle* gazebo::ROSConveyorController::rosnode
private

Definition at line 35 of file ROSConveyorController.cc.

std::string gazebo::ROSConveyorController::searchModelType = "unit_box"
private

Definition at line 43 of file ROSConveyorController.cc.

physics::WorldPtr gazebo::ROSConveyorController::world
private

Definition at line 39 of file ROSConveyorController.cc.


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


osrf_gear
Author(s):
autogenerated on Wed Sep 7 2016 03:48:13