Public Member Functions | |
OpticalFlow () | |
![]() | |
void | init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL) |
Nodelet () | |
virtual | ~Nodelet () |
Private Member Functions | |
geometry_msgs::Vector3Stamped | calcFlowGyro (const std::string &frame_id, const ros::Time &prev, const ros::Time &curr) |
void | drawFlow (Mat &frame, double x, double y, double quality) const |
void | flow (const sensor_msgs::ImageConstPtr &msg, const sensor_msgs::CameraInfoConstPtr &cinfo) |
void | onInit () |
void | parseCameraInfo (const sensor_msgs::CameraInfoConstPtr &cinfo) |
Private Attributes | |
bool | calc_flow_gyro_ |
Mat | camera_matrix_ |
Mat | curr_ |
Mat | dist_coeffs_ |
std::string | fcu_frame_id_ |
mavros_msgs::OpticalFlowRad | flow_ |
ros::Publisher | flow_pub_ |
Mat | hann_ |
image_transport::Publisher | img_pub_ |
image_transport::CameraSubscriber | img_sub_ |
std::string | local_frame_id_ |
Mat | prev_ |
ros::Time | prev_stamp_ |
cv::Rect | roi_ |
int | roi_px_ |
double | roi_rad_ |
ros::Publisher | shift_pub_ |
std::unique_ptr< tf2_ros::Buffer > | tf_buffer_ |
std::unique_ptr< tf2_ros::TransformListener > | tf_listener_ |
ros::Publisher | velo_pub_ |
Additional Inherited Members | |
![]() | |
ros::CallbackQueueInterface & | getMTCallbackQueue () const |
ros::NodeHandle & | getMTNodeHandle () const |
ros::NodeHandle & | getMTPrivateNodeHandle () const |
const V_string & | getMyArgv () const |
const std::string & | getName () const |
ros::NodeHandle & | getNodeHandle () const |
ros::NodeHandle & | getPrivateNodeHandle () const |
const M_string & | getRemappingArgs () const |
ros::CallbackQueueInterface & | getSTCallbackQueue () const |
std::string | getSuffixedName (const std::string &suffix) const |
Definition at line 33 of file optical_flow.cpp.
|
inline |
Definition at line 36 of file optical_flow.cpp.
|
inlineprivate |
Definition at line 246 of file optical_flow.cpp.
|
inlineprivate |
Definition at line 98 of file optical_flow.cpp.
|
inlineprivate |
Definition at line 110 of file optical_flow.cpp.
|
inlineprivatevirtual |
Implements nodelet::Nodelet.
Definition at line 57 of file optical_flow.cpp.
|
inlineprivate |
Definition at line 89 of file optical_flow.cpp.
|
private |
Definition at line 55 of file optical_flow.cpp.
|
private |
Definition at line 52 of file optical_flow.cpp.
|
private |
Definition at line 51 of file optical_flow.cpp.
|
private |
Definition at line 52 of file optical_flow.cpp.
|
private |
Definition at line 43 of file optical_flow.cpp.
|
private |
Definition at line 46 of file optical_flow.cpp.
|
private |
Definition at line 41 of file optical_flow.cpp.
|
private |
Definition at line 50 of file optical_flow.cpp.
|
private |
Definition at line 45 of file optical_flow.cpp.
|
private |
Definition at line 44 of file optical_flow.cpp.
|
private |
Definition at line 43 of file optical_flow.cpp.
|
private |
Definition at line 51 of file optical_flow.cpp.
|
private |
Definition at line 42 of file optical_flow.cpp.
|
private |
Definition at line 49 of file optical_flow.cpp.
|
private |
Definition at line 47 of file optical_flow.cpp.
|
private |
Definition at line 48 of file optical_flow.cpp.
|
private |
Definition at line 41 of file optical_flow.cpp.
|
private |
Definition at line 53 of file optical_flow.cpp.
|
private |
Definition at line 54 of file optical_flow.cpp.
|
private |
Definition at line 41 of file optical_flow.cpp.