Gazebo plugin that saves geotagged camera images to disk. More...
#include <gazebo_geotagged_images_plugin.h>
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 | |
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_ |
Gazebo plugin that saves geotagged camera images to disk.
Definition at line 35 of file gazebo_geotagged_images_plugin.h.
Definition at line 38 of file gazebo_geotagged_images_plugin.cpp.
GeotaggedImagesPlugin::~GeotaggedImagesPlugin | ( | ) | [virtual] |
Definition at line 41 of file gazebo_geotagged_images_plugin.cpp.
void GeotaggedImagesPlugin::Load | ( | sensors::SensorPtr | sensor, |
sdf::ElementPtr | sdf | ||
) | [virtual] |
Definition at line 47 of file gazebo_geotagged_images_plugin.cpp.
void GeotaggedImagesPlugin::OnNewFrame | ( | const unsigned char * | image | ) |
Definition at line 130 of file gazebo_geotagged_images_plugin.cpp.
void GeotaggedImagesPlugin::OnNewGpsPosition | ( | ConstVector3dPtr & | v | ) |
Definition at line 124 of file gazebo_geotagged_images_plugin.cpp.
rendering::CameraPtr gazebo::GeotaggedImagesPlugin::camera_ [protected] |
Definition at line 50 of file gazebo_geotagged_images_plugin.h.
unsigned int gazebo::GeotaggedImagesPlugin::depth_ [protected] |
Definition at line 60 of file gazebo_geotagged_images_plugin.h.
unsigned int gazebo::GeotaggedImagesPlugin::destHeight_ [protected] |
output size
Definition at line 61 of file gazebo_geotagged_images_plugin.h.
unsigned int gazebo::GeotaggedImagesPlugin::destWidth_ [protected] |
Definition at line 61 of file gazebo_geotagged_images_plugin.h.
std::string gazebo::GeotaggedImagesPlugin::format_ [protected] |
Definition at line 62 of file gazebo_geotagged_images_plugin.h.
transport::SubscriberPtr gazebo::GeotaggedImagesPlugin::gpsSub_ [private] |
Definition at line 58 of file gazebo_geotagged_images_plugin.h.
unsigned int gazebo::GeotaggedImagesPlugin::height_ [protected] |
Definition at line 60 of file gazebo_geotagged_images_plugin.h.
Definition at line 46 of file gazebo_geotagged_images_plugin.h.
msgs::Vector3d gazebo::GeotaggedImagesPlugin::lastGpsPosition_ [private] |
Definition at line 54 of file gazebo_geotagged_images_plugin.h.
common::Time gazebo::GeotaggedImagesPlugin::lastImageTime_ [private] |
Definition at line 47 of file gazebo_geotagged_images_plugin.h.
Definition at line 57 of file gazebo_geotagged_images_plugin.h.
Definition at line 52 of file gazebo_geotagged_images_plugin.h.
transport::NodePtr gazebo::GeotaggedImagesPlugin::node_handle_ [private] |
Definition at line 56 of file gazebo_geotagged_images_plugin.h.
sensors::CameraSensorPtr gazebo::GeotaggedImagesPlugin::parentSensor_ [protected] |
Definition at line 49 of file gazebo_geotagged_images_plugin.h.
rendering::ScenePtr gazebo::GeotaggedImagesPlugin::scene_ [protected] |
Definition at line 51 of file gazebo_geotagged_images_plugin.h.
Definition at line 53 of file gazebo_geotagged_images_plugin.h.
float gazebo::GeotaggedImagesPlugin::storeIntervalSec_ [protected] |
Definition at line 45 of file gazebo_geotagged_images_plugin.h.
unsigned int gazebo::GeotaggedImagesPlugin::width_ [protected] |
Definition at line 60 of file gazebo_geotagged_images_plugin.h.