#include <fake_kobuki_ros.h>
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 |
Definition at line 57 of file fake_kobuki_ros.h.
kobuki::FakeKobukiRos::FakeKobukiRos | ( | std::string & | node_name | ) |
Definition at line 6 of file fake_kobuki_ros.cpp.
kobuki::FakeKobukiRos::~FakeKobukiRos | ( | ) |
Definition at line 11 of file fake_kobuki_ros.cpp.
|
private |
Definition at line 32 of file fake_kobuki_ros.cpp.
bool kobuki::FakeKobukiRos::init | ( | ros::NodeHandle & | nh | ) |
Definition at line 15 of file fake_kobuki_ros.cpp.
|
private |
Definition at line 70 of file fake_kobuki_ros.cpp.
|
private |
Definition at line 82 of file fake_kobuki_ros.cpp.
|
private |
Definition at line 63 of file fake_kobuki_ros.cpp.
|
private |
Definition at line 75 of file fake_kobuki_ros.cpp.
bool kobuki::FakeKobukiRos::update | ( | ) |
Definition at line 158 of file fake_kobuki_ros.cpp.
|
private |
Definition at line 96 of file fake_kobuki_ros.cpp.
|
private |
Definition at line 105 of file fake_kobuki_ros.cpp.
|
private |
Definition at line 147 of file fake_kobuki_ros.cpp.
|
private |
Definition at line 90 of file fake_kobuki_ros.h.
|
private |
Definition at line 99 of file fake_kobuki_ros.h.
|
private |
Definition at line 84 of file fake_kobuki_ros.h.
|
private |
Definition at line 83 of file fake_kobuki_ros.h.
|
private |
Definition at line 85 of file fake_kobuki_ros.h.
|
private |
Definition at line 88 of file fake_kobuki_ros.h.
|
private |
Definition at line 92 of file fake_kobuki_ros.h.
|
private |
Definition at line 97 of file fake_kobuki_ros.h.
|
private |
Definition at line 94 of file fake_kobuki_ros.h.