All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
Public Member Functions | Private Member Functions | Private Attributes
kobuki::FakeKobukiRos Class Reference

#include <fake_kobuki_ros.h>

List of all members.

Public Member Functions

 FakeKobukiRos (std::string &node_name)
bool init (ros::NodeHandle &nh)
bool update ()
 ~FakeKobukiRos ()

Private Member Functions

void advertiseTopics (ros::NodeHandle &nh)
void publishVersionInfoOnce ()
void subscribeMotorPowerCommand (const kobuki_msgs::MotorPowerConstPtr msg)
void subscribeTopics (ros::NodeHandle &nh)
void subscribeVelocityCommand (const geometry_msgs::TwistConstPtr msg)
void updateJoint (unsigned int index, double &w, ros::Duration step_time)
void updateOdometry (double w_left, double w_right, ros::Duration step_time)
void updateTF (geometry_msgs::TransformStamped &odom_tf)

Private Attributes

std::map< std::string,
ros::Publisher
event_publisher
FakeKobuki kobuki
ros::Time last_cmd_vel_time
std::string name
ros::Time prev_update_time
std::map< std::string,
ros::Publisher
publisher
std::map< std::string,
ros::Publisher
sensor_publisher
std::map< std::string,
ros::Subscriber
subscriber
tf::TransformBroadcaster tf_broadcaster

Detailed Description

Definition at line 57 of file fake_kobuki_ros.h.


Constructor & Destructor Documentation

kobuki::FakeKobukiRos::FakeKobukiRos ( std::string &  node_name)

Definition at line 6 of file fake_kobuki_ros.cpp.

Definition at line 11 of file fake_kobuki_ros.cpp.


Member Function Documentation

Definition at line 32 of file fake_kobuki_ros.cpp.

Definition at line 15 of file fake_kobuki_ros.cpp.

Definition at line 70 of file fake_kobuki_ros.cpp.

void kobuki::FakeKobukiRos::subscribeMotorPowerCommand ( const kobuki_msgs::MotorPowerConstPtr  msg) [private]

Definition at line 82 of file fake_kobuki_ros.cpp.

Definition at line 63 of file fake_kobuki_ros.cpp.

void kobuki::FakeKobukiRos::subscribeVelocityCommand ( const geometry_msgs::TwistConstPtr  msg) [private]

Definition at line 75 of file fake_kobuki_ros.cpp.

Definition at line 154 of file fake_kobuki_ros.cpp.

void kobuki::FakeKobukiRos::updateJoint ( unsigned int  index,
double &  w,
ros::Duration  step_time 
) [private]

Definition at line 96 of file fake_kobuki_ros.cpp.

void kobuki::FakeKobukiRos::updateOdometry ( double  w_left,
double  w_right,
ros::Duration  step_time 
) [private]

Definition at line 105 of file fake_kobuki_ros.cpp.

void kobuki::FakeKobukiRos::updateTF ( geometry_msgs::TransformStamped &  odom_tf) [private]

Definition at line 143 of file fake_kobuki_ros.cpp.


Member Data Documentation

std::map<std::string,ros::Publisher> kobuki::FakeKobukiRos::event_publisher [private]

Definition at line 90 of file fake_kobuki_ros.h.

Definition at line 99 of file fake_kobuki_ros.h.

Definition at line 84 of file fake_kobuki_ros.h.

std::string kobuki::FakeKobukiRos::name [private]

Definition at line 83 of file fake_kobuki_ros.h.

Definition at line 85 of file fake_kobuki_ros.h.

std::map<std::string,ros::Publisher> kobuki::FakeKobukiRos::publisher [private]

Definition at line 88 of file fake_kobuki_ros.h.

Definition at line 92 of file fake_kobuki_ros.h.

std::map<std::string,ros::Subscriber> kobuki::FakeKobukiRos::subscriber [private]

Definition at line 97 of file fake_kobuki_ros.h.

Definition at line 94 of file fake_kobuki_ros.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


kobuki_softnode
Author(s): Jihoon Lee
autogenerated on Tue Jul 9 2013 11:05:05