#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 56 of file generic_offsetter.h.
camera_offsetter::GenericOffsetter::GenericOffsetter | ( | ) | [inline] |
Definition at line 59 of file generic_offsetter.h.
void camera_offsetter::GenericOffsetter::poseCb | ( | const geometry_msgs::PoseConstPtr & | msg | ) | [inline] |
Definition at line 120 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 150 of file generic_offsetter.h.
void camera_offsetter::GenericOffsetter::readConfig | ( | ) | [inline] |
Definition at line 74 of file generic_offsetter.h.
void camera_offsetter::GenericOffsetter::saveConfig | ( | ) | [inline] |
Definition at line 101 of file generic_offsetter.h.
void camera_offsetter::GenericOffsetter::twistCb | ( | const geometry_msgs::TwistConstPtr & | msg | ) | [inline] |
Definition at line 126 of file generic_offsetter.h.
double camera_offsetter::GenericOffsetter::baseline_factor_ [protected] |
Definition at line 166 of file generic_offsetter.h.
std::string camera_offsetter::GenericOffsetter::config_file_ [private] |
Definition at line 176 of file generic_offsetter.h.
std::string camera_offsetter::GenericOffsetter::frame_suffix_ [protected] |
Definition at line 165 of file generic_offsetter.h.
Reimplemented in camera_offsetter::StereoOffsetter, and camera_offsetter::MonoOffsetter.
Definition at line 169 of file generic_offsetter.h.
boost::mutex camera_offsetter::GenericOffsetter::offset_mutex_ [private] |
Definition at line 178 of file generic_offsetter.h.
Definition at line 171 of file generic_offsetter.h.
Definition at line 174 of file generic_offsetter.h.
Definition at line 172 of file generic_offsetter.h.
btTransform camera_offsetter::GenericOffsetter::virtual_offset_ [private] |
Definition at line 179 of file generic_offsetter.h.