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

Gazebo plugin that saves geotagged camera images to disk. More...

#include <gazebo_geotagged_images_plugin.h>

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

Public Member Functions

 GeotaggedImagesPlugin ()
 
virtual void Load (sensors::SensorPtr sensor, sdf::ElementPtr sdf)
 
void OnNewFrame (const unsigned char *image)
 
void OnNewGpsPosition (ConstVector3dPtr &v)
 
virtual ~GeotaggedImagesPlugin ()
 

Protected Attributes

rendering::CameraPtr camera_
 
unsigned int depth_
 
unsigned int destHeight_
 output size More...
 
unsigned int destWidth_
 
std::string format_
 
unsigned int height_
 
sensors::CameraSensorPtr parentSensor_
 
rendering::ScenePtr scene_
 
float storeIntervalSec_
 
unsigned int width_
 

Private Attributes

transport::SubscriberPtr gpsSub_
 
int imageCounter_
 
msgs::Vector3d lastGpsPosition_
 
common::Time lastImageTime_
 
std::string namespace_
 
event::ConnectionPtr newFrameConnection_
 
transport::NodePtr node_handle_
 
std::string storageDir_
 

Detailed Description

Gazebo plugin that saves geotagged camera images to disk.

Definition at line 35 of file gazebo_geotagged_images_plugin.h.

Constructor & Destructor Documentation

◆ GeotaggedImagesPlugin()

GeotaggedImagesPlugin::GeotaggedImagesPlugin ( )

Definition at line 36 of file gazebo_geotagged_images_plugin.cpp.

◆ ~GeotaggedImagesPlugin()

GeotaggedImagesPlugin::~GeotaggedImagesPlugin ( )
virtual

Definition at line 39 of file gazebo_geotagged_images_plugin.cpp.

Member Function Documentation

◆ Load()

void GeotaggedImagesPlugin::Load ( sensors::SensorPtr  sensor,
sdf::ElementPtr  sdf 
)
virtual
Todo:
Should this be an absolute topic!?!

Definition at line 45 of file gazebo_geotagged_images_plugin.cpp.

◆ OnNewFrame()

void GeotaggedImagesPlugin::OnNewFrame ( const unsigned char *  image)

Definition at line 128 of file gazebo_geotagged_images_plugin.cpp.

◆ OnNewGpsPosition()

void GeotaggedImagesPlugin::OnNewGpsPosition ( ConstVector3dPtr &  v)

Definition at line 122 of file gazebo_geotagged_images_plugin.cpp.

Member Data Documentation

◆ camera_

rendering::CameraPtr gazebo::GeotaggedImagesPlugin::camera_
protected

Definition at line 50 of file gazebo_geotagged_images_plugin.h.

◆ depth_

unsigned int gazebo::GeotaggedImagesPlugin::depth_
protected

Definition at line 60 of file gazebo_geotagged_images_plugin.h.

◆ destHeight_

unsigned int gazebo::GeotaggedImagesPlugin::destHeight_
protected

output size

Definition at line 61 of file gazebo_geotagged_images_plugin.h.

◆ destWidth_

unsigned int gazebo::GeotaggedImagesPlugin::destWidth_
protected

Definition at line 61 of file gazebo_geotagged_images_plugin.h.

◆ format_

std::string gazebo::GeotaggedImagesPlugin::format_
protected

Definition at line 62 of file gazebo_geotagged_images_plugin.h.

◆ gpsSub_

transport::SubscriberPtr gazebo::GeotaggedImagesPlugin::gpsSub_
private

Definition at line 58 of file gazebo_geotagged_images_plugin.h.

◆ height_

unsigned int gazebo::GeotaggedImagesPlugin::height_
protected

Definition at line 60 of file gazebo_geotagged_images_plugin.h.

◆ imageCounter_

int gazebo::GeotaggedImagesPlugin::imageCounter_
private

Definition at line 46 of file gazebo_geotagged_images_plugin.h.

◆ lastGpsPosition_

msgs::Vector3d gazebo::GeotaggedImagesPlugin::lastGpsPosition_
private

Definition at line 54 of file gazebo_geotagged_images_plugin.h.

◆ lastImageTime_

common::Time gazebo::GeotaggedImagesPlugin::lastImageTime_
private

Definition at line 47 of file gazebo_geotagged_images_plugin.h.

◆ namespace_

std::string gazebo::GeotaggedImagesPlugin::namespace_
private

Definition at line 57 of file gazebo_geotagged_images_plugin.h.

◆ newFrameConnection_

event::ConnectionPtr gazebo::GeotaggedImagesPlugin::newFrameConnection_
private

Definition at line 52 of file gazebo_geotagged_images_plugin.h.

◆ node_handle_

transport::NodePtr gazebo::GeotaggedImagesPlugin::node_handle_
private

Definition at line 56 of file gazebo_geotagged_images_plugin.h.

◆ parentSensor_

sensors::CameraSensorPtr gazebo::GeotaggedImagesPlugin::parentSensor_
protected

Definition at line 49 of file gazebo_geotagged_images_plugin.h.

◆ scene_

rendering::ScenePtr gazebo::GeotaggedImagesPlugin::scene_
protected

Definition at line 51 of file gazebo_geotagged_images_plugin.h.

◆ storageDir_

std::string gazebo::GeotaggedImagesPlugin::storageDir_
private

Definition at line 53 of file gazebo_geotagged_images_plugin.h.

◆ storeIntervalSec_

float gazebo::GeotaggedImagesPlugin::storeIntervalSec_
protected

Definition at line 45 of file gazebo_geotagged_images_plugin.h.

◆ width_

unsigned int gazebo::GeotaggedImagesPlugin::width_
protected

Definition at line 60 of file gazebo_geotagged_images_plugin.h.


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


rotors_gazebo_plugins
Author(s): Fadri Furrer, Michael Burri, Mina Kamel, Janosch Nikolic, Markus Achtelik
autogenerated on Mon Feb 28 2022 23:39:04