Main Page
Modules
Namespaces
Classes
Files
File List
File Members
ros
include
MonoNode.h
Go to the documentation of this file.
1
21
#ifndef ORBSLAM2_ROS_MONONODE_H_
22
#define ORBSLAM2_ROS_MONONODE_H_
23
24
#include <iostream>
25
#include <algorithm>
26
#include <fstream>
27
#include <chrono>
28
29
#include <
ros/ros.h
>
30
#include <
image_transport/image_transport.h
>
31
#include <
cv_bridge/cv_bridge.h
>
32
#include <
sensor_msgs/image_encodings.h
>
33
#include <opencv2/core/core.hpp>
34
#include <
tf/transform_broadcaster.h
>
35
36
#include "
System.h
"
37
#include "
Node.h
"
38
39
40
class
MonoNode
:
public
Node
41
{
42
public
:
43
MonoNode
(
const
ORB_SLAM2::System::eSensor
sensor,
ros::NodeHandle
&node_handle,
image_transport::ImageTransport
&
image_transport
);
44
~MonoNode
();
45
void
ImageCallback
(
const
sensor_msgs::ImageConstPtr& msg);
46
47
private
:
48
image_transport::Subscriber
image_subscriber
;
49
};
50
51
#endif //ORBSLAM2_ROS_MONONODE_H_
ros::NodeHandle
Node
Definition:
Node.h:54
Node.h
image_transport.h
MonoNode
Definition:
MonoNode.h:40
image_transport
transform_broadcaster.h
cv_bridge.h
MonoNode::~MonoNode
~MonoNode()
Definition:
MonoNode.cc:34
System.h
image_transport::Subscriber
MonoNode::ImageCallback
void ImageCallback(const sensor_msgs::ImageConstPtr &msg)
Definition:
MonoNode.cc:38
ORB_SLAM2::System::eSensor
eSensor
Definition:
System.h:54
ros.h
MonoNode::image_subscriber
image_transport::Subscriber image_subscriber
Definition:
MonoNode.h:48
image_transport::ImageTransport
image_encodings.h
MonoNode::MonoNode
MonoNode(const ORB_SLAM2::System::eSensor sensor, ros::NodeHandle &node_handle, image_transport::ImageTransport &image_transport)
Definition:
MonoNode.cc:28
orb_slam2_ros
Author(s):
autogenerated on Wed Apr 21 2021 02:53:05