Public Member Functions | Protected Attributes | Private Attributes
gazebo::OpticalFlowPlugin Class Reference

#include <gazebo_optical_flow_plugin.h>

List of all members.

Public Member Functions

virtual void Load (sensors::SensorPtr _sensor, sdf::ElementPtr _sdf)
virtual void OnNewFrame (const unsigned char *_image, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format)
 OpticalFlowPlugin ()
virtual ~OpticalFlowPlugin ()

Protected Attributes

rendering::CameraPtr camera
unsigned int depth
std::string format
unsigned int height
sensors::CameraSensorPtr parentSensor
unsigned int width

Private Attributes

OpticalFlowOpenCV * _optical_flow
int dt_us
double first_frame_time
float focal_length
Mat frame_gray
double frame_time
uint32_t frame_time_us
float hfov
std::string namespace_
event::ConnectionPtr newFrameConnection
transport::NodePtr node_handle_
double old_frame_time
Mat old_gray
opticalFlow_msgs::msgs::opticalFlow opticalFlow_message
transport::PublisherPtr opticalFlow_pub_
float rate
boost::timer::cpu_timer timer_

Detailed Description

Definition at line 45 of file gazebo_optical_flow_plugin.h.


Constructor & Destructor Documentation

Definition at line 42 of file gazebo_optical_flow_plugin.cpp.

Definition at line 49 of file gazebo_optical_flow_plugin.cpp.


Member Function Documentation

void OpticalFlowPlugin::Load ( sensors::SensorPtr  _sensor,
sdf::ElementPtr  _sdf 
) [virtual]

Definition at line 56 of file gazebo_optical_flow_plugin.cpp.

void OpticalFlowPlugin::OnNewFrame ( const unsigned char *  _image,
unsigned int  _width,
unsigned int  _height,
unsigned int  _depth,
const std::string _format 
) [virtual]

Definition at line 126 of file gazebo_optical_flow_plugin.cpp.


Member Data Documentation

OpticalFlowOpenCV* gazebo::OpticalFlowPlugin::_optical_flow [private]

Definition at line 70 of file gazebo_optical_flow_plugin.h.

rendering::CameraPtr gazebo::OpticalFlowPlugin::camera [protected]

Definition at line 59 of file gazebo_optical_flow_plugin.h.

unsigned int gazebo::OpticalFlowPlugin::depth [protected]

Definition at line 56 of file gazebo_optical_flow_plugin.h.

Definition at line 75 of file gazebo_optical_flow_plugin.h.

Definition at line 77 of file gazebo_optical_flow_plugin.h.

Definition at line 76 of file gazebo_optical_flow_plugin.h.

Definition at line 57 of file gazebo_optical_flow_plugin.h.

Definition at line 64 of file gazebo_optical_flow_plugin.h.

Definition at line 78 of file gazebo_optical_flow_plugin.h.

Definition at line 80 of file gazebo_optical_flow_plugin.h.

unsigned int gazebo::OpticalFlowPlugin::height [protected]

Definition at line 56 of file gazebo_optical_flow_plugin.h.

Definition at line 73 of file gazebo_optical_flow_plugin.h.

Definition at line 68 of file gazebo_optical_flow_plugin.h.

Definition at line 62 of file gazebo_optical_flow_plugin.h.

transport::NodePtr gazebo::OpticalFlowPlugin::node_handle_ [private]

Definition at line 66 of file gazebo_optical_flow_plugin.h.

Definition at line 79 of file gazebo_optical_flow_plugin.h.

Definition at line 63 of file gazebo_optical_flow_plugin.h.

opticalFlow_msgs::msgs::opticalFlow gazebo::OpticalFlowPlugin::opticalFlow_message [private]

Definition at line 67 of file gazebo_optical_flow_plugin.h.

transport::PublisherPtr gazebo::OpticalFlowPlugin::opticalFlow_pub_ [private]

Definition at line 65 of file gazebo_optical_flow_plugin.h.

sensors::CameraSensorPtr gazebo::OpticalFlowPlugin::parentSensor [protected]

Definition at line 58 of file gazebo_optical_flow_plugin.h.

Definition at line 74 of file gazebo_optical_flow_plugin.h.

boost::timer::cpu_timer gazebo::OpticalFlowPlugin::timer_ [private]

Definition at line 69 of file gazebo_optical_flow_plugin.h.

unsigned int gazebo::OpticalFlowPlugin::width [protected]

Definition at line 56 of file gazebo_optical_flow_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 Thu Apr 18 2019 02:43:43