Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
rtabmap_ros::OdometryROS Class Reference

#include <OdometryROS.h>

Inheritance diagram for rtabmap_ros::OdometryROS:
Inheritance graph
[legend]

List of all members.

Public Member Functions

const std::string & frameId () const
rtabmap::Transform getTransform (const std::string &fromFrameId, const std::string &toFrameId, const ros::Time &stamp) const
bool isOdometryF2M () const
bool isPaused () const
 OdometryROS (bool stereo)
const std::string & odomFrameId () const
const rtabmap::ParametersMapparameters () const
bool pause (std_srvs::Empty::Request &, std_srvs::Empty::Response &)
void processData (const rtabmap::SensorData &data, const ros::Time &stamp)
bool reset (std_srvs::Empty::Request &, std_srvs::Empty::Response &)
bool resetToPose (rtabmap_ros::ResetPose::Request &, rtabmap_ros::ResetPose::Response &)
bool resume (std_srvs::Empty::Request &, std_srvs::Empty::Response &)
bool setLogDebug (std_srvs::Empty::Request &, std_srvs::Empty::Response &)
bool setLogError (std_srvs::Empty::Request &, std_srvs::Empty::Response &)
bool setLogInfo (std_srvs::Empty::Request &, std_srvs::Empty::Response &)
bool setLogWarn (std_srvs::Empty::Request &, std_srvs::Empty::Response &)
const tf::TransformListenertfListener () const
virtual ~OdometryROS ()

Protected Member Functions

virtual void flushCallbacks ()=0

Private Member Functions

virtual void onInit ()
virtual void onOdomInit ()=0

Private Attributes

std::string frameId_
std::string groundTruthFrameId_
bool guessFromTf_
rtabmap::Odometryodometry_
std::string odomFrameId_
ros::Publisher odomInfoPub_
ros::Publisher odomLastFrame_
ros::Publisher odomLocalMap_
ros::Publisher odomPub_
rtabmap::ParametersMap parameters_
bool paused_
ros::ServiceServer pauseSrv_
bool publishNullWhenLost_
bool publishTf_
int resetCountdown_
int resetCurrentCount_
ros::ServiceServer resetSrv_
ros::ServiceServer resetToPoseSrv_
ros::ServiceServer resumeSrv_
ros::ServiceServer setLogDebugSrv_
ros::ServiceServer setLogErrorSrv_
ros::ServiceServer setLogInfoSrv_
ros::ServiceServer setLogWarnSrv_
bool stereo_
tf2_ros::TransformBroadcaster tfBroadcaster_
tf::TransformListener tfListener_
bool waitForTransform_
double waitForTransformDuration_

Detailed Description

Definition at line 50 of file OdometryROS.h.


Constructor & Destructor Documentation

Definition at line 58 of file OdometryROS.cpp.

Definition at line 76 of file OdometryROS.cpp.


Member Function Documentation

virtual void rtabmap_ros::OdometryROS::flushCallbacks ( ) [protected, pure virtual]
const std::string& rtabmap_ros::OdometryROS::frameId ( ) const [inline]

Definition at line 68 of file OdometryROS.h.

Transform rtabmap_ros::OdometryROS::getTransform ( const std::string &  fromFrameId,
const std::string &  toFrameId,
const ros::Time stamp 
) const

Definition at line 289 of file OdometryROS.cpp.

Definition at line 550 of file OdometryROS.cpp.

bool rtabmap_ros::OdometryROS::isPaused ( ) const [inline]

Definition at line 72 of file OdometryROS.h.

const std::string& rtabmap_ros::OdometryROS::odomFrameId ( ) const [inline]

Definition at line 69 of file OdometryROS.h.

void rtabmap_ros::OdometryROS::onInit ( ) [private, virtual]

Implements nodelet::Nodelet.

Definition at line 90 of file OdometryROS.cpp.

virtual void rtabmap_ros::OdometryROS::onOdomInit ( ) [private, pure virtual]

Definition at line 70 of file OdometryROS.h.

bool rtabmap_ros::OdometryROS::pause ( std_srvs::Empty::Request &  ,
std_srvs::Empty::Response &   
)

Definition at line 572 of file OdometryROS.cpp.

void rtabmap_ros::OdometryROS::processData ( const rtabmap::SensorData data,
const ros::Time stamp 
)

Definition at line 317 of file OdometryROS.cpp.

bool rtabmap_ros::OdometryROS::reset ( std_srvs::Empty::Request &  ,
std_srvs::Empty::Response &   
)

Definition at line 555 of file OdometryROS.cpp.

bool rtabmap_ros::OdometryROS::resetToPose ( rtabmap_ros::ResetPose::Request &  req,
rtabmap_ros::ResetPose::Response &   
)

Definition at line 563 of file OdometryROS.cpp.

bool rtabmap_ros::OdometryROS::resume ( std_srvs::Empty::Request &  ,
std_srvs::Empty::Response &   
)

Definition at line 586 of file OdometryROS.cpp.

bool rtabmap_ros::OdometryROS::setLogDebug ( std_srvs::Empty::Request &  ,
std_srvs::Empty::Response &   
)

Definition at line 600 of file OdometryROS.cpp.

bool rtabmap_ros::OdometryROS::setLogError ( std_srvs::Empty::Request &  ,
std_srvs::Empty::Response &   
)

Definition at line 618 of file OdometryROS.cpp.

bool rtabmap_ros::OdometryROS::setLogInfo ( std_srvs::Empty::Request &  ,
std_srvs::Empty::Response &   
)

Definition at line 606 of file OdometryROS.cpp.

bool rtabmap_ros::OdometryROS::setLogWarn ( std_srvs::Empty::Request &  ,
std_srvs::Empty::Response &   
)

Definition at line 612 of file OdometryROS.cpp.

Definition at line 71 of file OdometryROS.h.


Member Data Documentation

std::string rtabmap_ros::OdometryROS::frameId_ [private]

Definition at line 87 of file OdometryROS.h.

Definition at line 89 of file OdometryROS.h.

Definition at line 94 of file OdometryROS.h.

Definition at line 84 of file OdometryROS.h.

Definition at line 88 of file OdometryROS.h.

Definition at line 98 of file OdometryROS.h.

Definition at line 100 of file OdometryROS.h.

Definition at line 99 of file OdometryROS.h.

Definition at line 97 of file OdometryROS.h.

Definition at line 95 of file OdometryROS.h.

Definition at line 112 of file OdometryROS.h.

Definition at line 103 of file OdometryROS.h.

Definition at line 93 of file OdometryROS.h.

Definition at line 90 of file OdometryROS.h.

Definition at line 113 of file OdometryROS.h.

Definition at line 114 of file OdometryROS.h.

Definition at line 101 of file OdometryROS.h.

Definition at line 102 of file OdometryROS.h.

Definition at line 104 of file OdometryROS.h.

Definition at line 105 of file OdometryROS.h.

Definition at line 108 of file OdometryROS.h.

Definition at line 106 of file OdometryROS.h.

Definition at line 107 of file OdometryROS.h.

Definition at line 115 of file OdometryROS.h.

Definition at line 109 of file OdometryROS.h.

Definition at line 110 of file OdometryROS.h.

Definition at line 91 of file OdometryROS.h.

Definition at line 92 of file OdometryROS.h.


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


rtabmap_ros
Author(s): Mathieu Labbe
autogenerated on Sun Jul 24 2016 03:49:08