#include <ncd_parser.h>
Public Member Functions | |
void | launch () |
NCDParser (char *filename) | |
virtual | ~NCDParser () |
Private Member Functions | |
void | createOdomToLeftLaserTf () |
void | createOdomToRightLaserTf () |
std::vector< float > | extractArray (std::string s, std::string pattern) |
double | extractValue (std::string s, std::string pattern) |
void | publishLaserMessage (const std::vector< std::string > &tokens, const std::string &laserFrame, const ros::Publisher &publisher) |
void | publishTfMessages (const std::vector< std::string > &tokens) |
void | tokenize (const std::string &str, std::vector< std::string > &tokens, std::string sentinel) |
Private Attributes | |
double | end_ |
char * | filename_ |
double | lastTime_ |
ros::Publisher | leftLaserPublisher_ |
btTransform | odomToLeftLaser_ |
btTransform | odomToRightLaser_ |
double | rate_ |
ros::Publisher | rightLaserPublisher_ |
double | start_ |
tf::TransformBroadcaster | tfBroadcaster_ |
btTransform | worldToOdom_ |
Definition at line 50 of file ncd_parser.h.
NCDParser::NCDParser | ( | char * | filename | ) |
Definition at line 47 of file ncd_parser.cpp.
NCDParser::~NCDParser | ( | ) | [virtual] |
Definition at line 75 of file ncd_parser.cpp.
void NCDParser::createOdomToLeftLaserTf | ( | ) | [private] |
Definition at line 249 of file ncd_parser.cpp.
void NCDParser::createOdomToRightLaserTf | ( | ) | [private] |
Definition at line 267 of file ncd_parser.cpp.
std::vector< float > NCDParser::extractArray | ( | std::string | s, | |
std::string | pattern | |||
) | [private] |
Definition at line 223 of file ncd_parser.cpp.
double NCDParser::extractValue | ( | std::string | s, | |
std::string | pattern | |||
) | [private] |
Definition at line 240 of file ncd_parser.cpp.
void NCDParser::launch | ( | ) |
Definition at line 80 of file ncd_parser.cpp.
void NCDParser::publishLaserMessage | ( | const std::vector< std::string > & | tokens, | |
const std::string & | laserFrame, | |||
const ros::Publisher & | publisher | |||
) | [private] |
Definition at line 145 of file ncd_parser.cpp.
void NCDParser::publishTfMessages | ( | const std::vector< std::string > & | tokens | ) | [private] |
Definition at line 169 of file ncd_parser.cpp.
void NCDParser::tokenize | ( | const std::string & | str, | |
std::vector< std::string > & | tokens, | |||
std::string | sentinel | |||
) | [private] |
Definition at line 207 of file ncd_parser.cpp.
double NCDParser::end_ [private] |
Definition at line 56 of file ncd_parser.h.
char* NCDParser::filename_ [private] |
Definition at line 54 of file ncd_parser.h.
double NCDParser::lastTime_ [private] |
Definition at line 57 of file ncd_parser.h.
ros::Publisher NCDParser::leftLaserPublisher_ [private] |
Definition at line 59 of file ncd_parser.h.
btTransform NCDParser::odomToLeftLaser_ [private] |
Definition at line 65 of file ncd_parser.h.
btTransform NCDParser::odomToRightLaser_ [private] |
Definition at line 66 of file ncd_parser.h.
double NCDParser::rate_ [private] |
Definition at line 55 of file ncd_parser.h.
ros::Publisher NCDParser::rightLaserPublisher_ [private] |
Definition at line 60 of file ncd_parser.h.
double NCDParser::start_ [private] |
Definition at line 56 of file ncd_parser.h.
tf::TransformBroadcaster NCDParser::tfBroadcaster_ [private] |
Definition at line 62 of file ncd_parser.h.
btTransform NCDParser::worldToOdom_ [private] |
Definition at line 64 of file ncd_parser.h.