Main Page
Namespaces
Classes
Files
File List
File Members
src
node.h
Go to the documentation of this file.
1
#ifndef __VISP_AUTO_TRACKER_NODE_H__
2
#define __VISP_AUTO_TRACKER_NODE_H__
3
#include "
ros/ros.h
"
4
5
#include "visp/vpConfig.h"
6
#include "
libauto_tracker/tracking.h
"
7
#include <string>
8
9
#include "
message_filters/subscriber.h
"
10
#include "
message_filters/time_synchronizer.h
"
11
#include "sensor_msgs/CameraInfo.h"
12
#include "sensor_msgs/Image.h"
13
#include "geometry_msgs/PoseStamped.h"
14
#include "geometry_msgs/PoseWithCovarianceStamped.h"
15
#include "std_msgs/Header.h"
16
#include <sstream>
17
18
namespace
visp_auto_tracker
{
19
class
Node
{
20
private
:
21
boost::mutex
lock_
;
22
ros::NodeHandle
n_
;
23
unsigned
long
queue_size_
;
24
std::string
tracker_config_path_
;
25
std::string
model_description_
;
26
std::string
model_path_
;
27
std::string
model_name_
;
28
std::string
code_message_
;
29
bool
debug_display_
;
30
31
vpImage<vpRGBa>
I_
;
// Image used for debug display
32
std_msgs::Header
image_header_
;
33
bool
got_image_
;
34
vpCameraParameters
cam_
;
35
36
tracking::Tracker
*
t_
;
37
CmdLine
cmd_
;
38
39
void
waitForImage
();
40
41
void
frameCallback
(
const
sensor_msgs::ImageConstPtr& image,
const
sensor_msgs::CameraInfoConstPtr& cam_info);
42
43
public
:
44
Node
();
45
void
spin
();
46
};
47
};
48
#endif
visp_auto_tracker::Node::waitForImage
void waitForImage()
Definition:
node.cpp:97
visp_auto_tracker::Node
Definition:
node.h:19
ros::NodeHandle
subscriber.h
visp_auto_tracker::Node::tracker_config_path_
std::string tracker_config_path_
Definition:
node.h:24
visp_auto_tracker::Node::t_
tracking::Tracker * t_
Definition:
node.h:36
visp_auto_tracker::Node::spin
void spin()
Definition:
node.cpp:114
tracking::Tracker
msm::back::state_machine< Tracker_ > Tracker
Definition:
tracking.h:186
visp_auto_tracker::Node::n_
ros::NodeHandle n_
Definition:
node.h:22
visp_auto_tracker::Node::model_name_
std::string model_name_
Definition:
node.h:27
visp_auto_tracker::Node::cmd_
CmdLine cmd_
Definition:
node.h:37
tracking.h
time_synchronizer.h
CmdLine
Definition:
cmd_line.h:12
visp_auto_tracker::Node::cam_
vpCameraParameters cam_
Definition:
node.h:34
visp_auto_tracker::Node::code_message_
std::string code_message_
Definition:
node.h:28
visp_auto_tracker::Node::model_path_
std::string model_path_
Definition:
node.h:26
ros.h
visp_auto_tracker::Node::lock_
boost::mutex lock_
Definition:
node.h:21
visp_auto_tracker::Node::I_
vpImage< vpRGBa > I_
Definition:
node.h:31
visp_auto_tracker::Node::model_description_
std::string model_description_
Definition:
node.h:25
visp_auto_tracker::Node::got_image_
bool got_image_
Definition:
node.h:33
visp_auto_tracker::Node::debug_display_
bool debug_display_
Definition:
node.h:29
visp_auto_tracker::Node::Node
Node()
Definition:
node.cpp:42
visp_auto_tracker::Node::queue_size_
unsigned long queue_size_
Definition:
node.h:23
visp_auto_tracker
Definition:
names.cpp:3
visp_auto_tracker::Node::image_header_
std_msgs::Header image_header_
Definition:
node.h:32
visp_auto_tracker::Node::frameCallback
void frameCallback(const sensor_msgs::ImageConstPtr &image, const sensor_msgs::CameraInfoConstPtr &cam_info)
Definition:
node.cpp:105
visp_auto_tracker
Author(s): Filip Novotny
autogenerated on Wed Jul 3 2019 19:48:10