Public Member Functions | Private Member Functions | Private Attributes | List of all members
gazebo::GvmMulticameraBootstrapperPlugin Class Reference

Registers the GvmMulticameraSensor class in the SensorFactory, and adds a gvm_multicamera sensor to a given model. More...

#include <gvm_multicamera_bootstrapper_plugin.h>

Inheritance diagram for gazebo::GvmMulticameraBootstrapperPlugin:
Inheritance graph
[legend]

Public Member Functions

 GvmMulticameraBootstrapperPlugin ()
 
virtual void Init () override
 
virtual void Load (physics::WorldPtr _world, sdf::ElementPtr _sdf) override
 
virtual ~GvmMulticameraBootstrapperPlugin () override
 

Private Member Functions

bool initServiceCallback (std_srvs::EmptyRequest &req, std_srvs::EmptyResponse &res)
 

Private Attributes

ros::CallbackQueue callback_queue_
 
ros::ServiceServer init_service_server_
 
bool inited_
 
physics::LinkPtr link_
 
std::string logger_prefix_
 
ros::NodeHandlePtr nh_
 
sdf::ElementPtr sdf_
 
ros::AsyncSpinner spinner_
 
physics::WorldPtr world_
 

Detailed Description

Registers the GvmMulticameraSensor class in the SensorFactory, and adds a gvm_multicamera sensor to a given model.

Note
Expects the following configuration:
  • sensor: configuration of a gvm_multicamera sensor
  • initService (optional): if one of the many reasons that make gazebo crash gives you trouble, you can configure a service to call to control when the gvm sensor gets created and initialized
  • sensorReference: reference model configuration for the multicamera sensor. It contains the name of the model (normally ground_plane) with which to associate the sensor, and the name of the link to which to attach the sensor (see parseRefModelConfig)

Definition at line 46 of file gvm_multicamera_bootstrapper_plugin.h.

Constructor & Destructor Documentation

◆ GvmMulticameraBootstrapperPlugin()

gazebo::GvmMulticameraBootstrapperPlugin::GvmMulticameraBootstrapperPlugin ( )

Definition at line 25 of file gvm_multicamera_bootstrapper_plugin.cpp.

◆ ~GvmMulticameraBootstrapperPlugin()

gazebo::GvmMulticameraBootstrapperPlugin::~GvmMulticameraBootstrapperPlugin ( )
overridevirtual

Definition at line 34 of file gvm_multicamera_bootstrapper_plugin.cpp.

Member Function Documentation

◆ Init()

void gazebo::GvmMulticameraBootstrapperPlugin::Init ( )
overridevirtual

Definition at line 83 of file gvm_multicamera_bootstrapper_plugin.cpp.

◆ initServiceCallback()

bool gazebo::GvmMulticameraBootstrapperPlugin::initServiceCallback ( std_srvs::EmptyRequest &  req,
std_srvs::EmptyResponse &  res 
)
private

Definition at line 90 of file gvm_multicamera_bootstrapper_plugin.cpp.

◆ Load()

void gazebo::GvmMulticameraBootstrapperPlugin::Load ( physics::WorldPtr  _world,
sdf::ElementPtr  _sdf 
)
overridevirtual

Definition at line 46 of file gvm_multicamera_bootstrapper_plugin.cpp.

Member Data Documentation

◆ callback_queue_

ros::CallbackQueue gazebo::GvmMulticameraBootstrapperPlugin::callback_queue_
private

Definition at line 63 of file gvm_multicamera_bootstrapper_plugin.h.

◆ init_service_server_

ros::ServiceServer gazebo::GvmMulticameraBootstrapperPlugin::init_service_server_
private

Definition at line 67 of file gvm_multicamera_bootstrapper_plugin.h.

◆ inited_

bool gazebo::GvmMulticameraBootstrapperPlugin::inited_
private

Definition at line 66 of file gvm_multicamera_bootstrapper_plugin.h.

◆ link_

physics::LinkPtr gazebo::GvmMulticameraBootstrapperPlugin::link_
private

Definition at line 60 of file gvm_multicamera_bootstrapper_plugin.h.

◆ logger_prefix_

std::string gazebo::GvmMulticameraBootstrapperPlugin::logger_prefix_
private

Definition at line 57 of file gvm_multicamera_bootstrapper_plugin.h.

◆ nh_

ros::NodeHandlePtr gazebo::GvmMulticameraBootstrapperPlugin::nh_
private

Definition at line 62 of file gvm_multicamera_bootstrapper_plugin.h.

◆ sdf_

sdf::ElementPtr gazebo::GvmMulticameraBootstrapperPlugin::sdf_
private

Definition at line 58 of file gvm_multicamera_bootstrapper_plugin.h.

◆ spinner_

ros::AsyncSpinner gazebo::GvmMulticameraBootstrapperPlugin::spinner_
private

Definition at line 64 of file gvm_multicamera_bootstrapper_plugin.h.

◆ world_

physics::WorldPtr gazebo::GvmMulticameraBootstrapperPlugin::world_
private

Definition at line 59 of file gvm_multicamera_bootstrapper_plugin.h.


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


gazebo_video_monitor_plugins
Author(s): Nick Lamprianidis
autogenerated on Tue Oct 24 2023 02:12:50