Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TF_Visualizer Class Reference

#include <tfvisualizer.h>

Inheritance diagram for TF_Visualizer:
Inheritance graph
[legend]

Public Member Functions

void imageCb (const sensor_msgs::ImageConstPtr &image_msg, const sensor_msgs::CameraInfoConstPtr &info_msg)
 
void stop ()
 
 TF_Visualizer (const std::vector< std::string > &frame_ids, std::string camera_input_topic, std::string camera_output_topic)
 

Protected Member Functions

void run ()
 

Protected Attributes

image_geometry::PinholeCameraModel cam_model_
 
std::string camera_input_topic_
 
std::string camera_output_topic_
 
CvFont font_
 
std::vector< std::string > frame_ids_
 
image_transport::ImageTransport it_
 
ros::NodeHandle nh_
 
image_transport::Publisher pub_
 
image_transport::CameraSubscriber sub_
 
tf::TransformListener tf_listener_
 

Detailed Description

Copyright (c) 2016, Aumann Florian, Heller Florian, Meißner Pascal All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition at line 37 of file tfvisualizer.h.

Constructor & Destructor Documentation

TF_Visualizer::TF_Visualizer ( const std::vector< std::string > &  frame_ids,
std::string  camera_input_topic,
std::string  camera_output_topic 
)
explicit

Copyright (c) 2016, Aumann Florian, Heller Florian, Meißner Pascal All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition at line 24 of file tfvisualizer.cpp.

Member Function Documentation

void TF_Visualizer::imageCb ( const sensor_msgs::ImageConstPtr &  image_msg,
const sensor_msgs::CameraInfoConstPtr &  info_msg 
)

Definition at line 29 of file tfvisualizer.cpp.

void TF_Visualizer::run ( )
protected

Definition at line 77 of file tfvisualizer.cpp.

void TF_Visualizer::stop ( )

Definition at line 85 of file tfvisualizer.cpp.

Member Data Documentation

image_geometry::PinholeCameraModel TF_Visualizer::cam_model_
protected

Definition at line 52 of file tfvisualizer.h.

std::string TF_Visualizer::camera_input_topic_
protected

Definition at line 54 of file tfvisualizer.h.

std::string TF_Visualizer::camera_output_topic_
protected

Definition at line 55 of file tfvisualizer.h.

CvFont TF_Visualizer::font_
protected

Definition at line 56 of file tfvisualizer.h.

std::vector<std::string> TF_Visualizer::frame_ids_
protected

Definition at line 53 of file tfvisualizer.h.

image_transport::ImageTransport TF_Visualizer::it_
protected

Definition at line 48 of file tfvisualizer.h.

ros::NodeHandle TF_Visualizer::nh_
protected

Definition at line 47 of file tfvisualizer.h.

image_transport::Publisher TF_Visualizer::pub_
protected

Definition at line 50 of file tfvisualizer.h.

image_transport::CameraSubscriber TF_Visualizer::sub_
protected

Definition at line 49 of file tfvisualizer.h.

tf::TransformListener TF_Visualizer::tf_listener_
protected

Definition at line 51 of file tfvisualizer.h.


The documentation for this class was generated from the following files:


asr_mild_calibration_tool
Author(s): Aumann Florian, Heller Florian, Meißner Pascal
autogenerated on Mon Dec 2 2019 03:11:43