#include <generic_offsetter.h>
Public Member Functions | |
GenericOffsetter () | |
void | poseCb (const geometry_msgs::PoseConstPtr &msg) |
void | publishTransform (const ros::Time &time, const std::string frame_id, const std::string parent_id) |
void | readConfig () |
void | saveConfig () |
void | twistCb (const geometry_msgs::TwistConstPtr &msg) |
Protected Attributes | |
double | baseline_factor_ |
std::string | frame_suffix_ |
Private Attributes | |
std::string | config_file_ |
ros::NodeHandle | nh_ |
boost::mutex | offset_mutex_ |
ros::Subscriber | pose_sub_ |
tf::TransformBroadcaster | tf_ |
ros::Subscriber | twist_sub_ |
btTransform | virtual_offset_ |
Definition at line 45 of file generic_offsetter.h.
camera_offsetter::GenericOffsetter::GenericOffsetter | ( | ) | [inline] |
Definition at line 45 of file generic_offsetter.h.
void camera_offsetter::GenericOffsetter::poseCb | ( | const geometry_msgs::PoseConstPtr & | msg | ) | [inline] |
Definition at line 106 of file generic_offsetter.h.
void camera_offsetter::GenericOffsetter::publishTransform | ( | const ros::Time & | time, | |
const std::string | frame_id, | |||
const std::string | parent_id | |||
) | [inline] |
Definition at line 136 of file generic_offsetter.h.
void camera_offsetter::GenericOffsetter::readConfig | ( | ) | [inline] |
Definition at line 60 of file generic_offsetter.h.
void camera_offsetter::GenericOffsetter::saveConfig | ( | ) | [inline] |
Definition at line 87 of file generic_offsetter.h.
void camera_offsetter::GenericOffsetter::twistCb | ( | const geometry_msgs::TwistConstPtr & | msg | ) | [inline] |
Definition at line 112 of file generic_offsetter.h.
double camera_offsetter::GenericOffsetter::baseline_factor_ [protected] |
Definition at line 152 of file generic_offsetter.h.
std::string camera_offsetter::GenericOffsetter::config_file_ [private] |
Definition at line 162 of file generic_offsetter.h.
std::string camera_offsetter::GenericOffsetter::frame_suffix_ [protected] |
Definition at line 151 of file generic_offsetter.h.
ros::NodeHandle camera_offsetter::GenericOffsetter::nh_ [private] |
Reimplemented in camera_offsetter::MonoOffsetter, and camera_offsetter::StereoOffsetter.
Definition at line 155 of file generic_offsetter.h.
boost::mutex camera_offsetter::GenericOffsetter::offset_mutex_ [private] |
Definition at line 164 of file generic_offsetter.h.
ros::Subscriber camera_offsetter::GenericOffsetter::pose_sub_ [private] |
Definition at line 157 of file generic_offsetter.h.
tf::TransformBroadcaster camera_offsetter::GenericOffsetter::tf_ [private] |
Definition at line 160 of file generic_offsetter.h.
ros::Subscriber camera_offsetter::GenericOffsetter::twist_sub_ [private] |
Definition at line 158 of file generic_offsetter.h.
btTransform camera_offsetter::GenericOffsetter::virtual_offset_ [private] |
Definition at line 165 of file generic_offsetter.h.