$search
ROS Node class. More...
Public Member Functions | |
ActiveRealTimeSegmenter () | |
Constructor. | |
void | execute (int loops) |
Execute Segmentation. | |
~ActiveRealTimeSegmenter () | |
Destructor. | |
Private Member Functions | |
bool | assembleSensorData (sensor_msgs::Image::ConstPtr &recent_image, stereo_msgs::DisparityImage::ConstPtr &recent_disparity_image, ros::Duration time_out) |
Read sensor data from topics. | |
Private Attributes | |
ros::NodeHandle | nh_ |
The node handle. |
ROS Node class.
Definition at line 22 of file dosegment_node.cpp.
ActiveRealTimeSegmenter::ActiveRealTimeSegmenter | ( | ) | [inline] |
Constructor.
Definition at line 26 of file dosegment_node.cpp.
ActiveRealTimeSegmenter::~ActiveRealTimeSegmenter | ( | ) | [inline] |
Destructor.
Definition at line 32 of file dosegment_node.cpp.
bool ActiveRealTimeSegmenter::assembleSensorData | ( | sensor_msgs::Image::ConstPtr & | recent_image, | |
stereo_msgs::DisparityImage::ConstPtr & | recent_disparity_image, | |||
ros::Duration | time_out | |||
) | [private] |
Read sensor data from topics.
Read sensor data from topics and store
recent_image | Storage for image sensor_msg | |
recent_disparity_image | Storage for disparity image | |
time_out | How long it is tried to get data |
Definition at line 58 of file dosegment_node.cpp.
void ActiveRealTimeSegmenter::execute | ( | int | loops | ) |
Execute Segmentation.
loops | how many loops should segmentation run |
Definition at line 91 of file dosegment_node.cpp.
ros::NodeHandle ActiveRealTimeSegmenter::nh_ [private] |
The node handle.
Definition at line 55 of file dosegment_node.cpp.