30 #ifndef _FAKE_KOBUKI_NODE_H_ 31 #define _FAKE_KOBUKI_NODE_H_ 34 #include <geometry_msgs/Twist.h> 36 #include <sensor_msgs/Imu.h> 37 #include <kobuki_msgs/ButtonEvent.h> 38 #include <kobuki_msgs/BumperEvent.h> 39 #include <kobuki_msgs/CliffEvent.h> 40 #include <kobuki_msgs/DigitalOutput.h> 41 #include <kobuki_msgs/DigitalInputEvent.h> 42 #include <kobuki_msgs/ExternalPower.h> 43 #include <kobuki_msgs/DockInfraRed.h> 44 #include <kobuki_msgs/Led.h> 45 #include <kobuki_msgs/MotorPower.h> 46 #include <kobuki_msgs/PowerSystemEvent.h> 47 #include <kobuki_msgs/RobotStateEvent.h> 48 #include <kobuki_msgs/SensorState.h> 49 #include <kobuki_msgs/Sound.h> 50 #include <kobuki_msgs/VersionInfo.h> 51 #include <kobuki_msgs/WheelDropEvent.h> 78 void updateTF(geometry_msgs::TransformStamped& odom_tf);
std::map< std::string, ros::Subscriber > subscriber
void advertiseTopics(ros::NodeHandle &nh)
void updateTF(geometry_msgs::TransformStamped &odom_tf)
std::map< std::string, ros::Publisher > publisher
void updateJoint(unsigned int index, double &w, ros::Duration step_time)
void publishVersionInfoOnce()
tf::TransformBroadcaster tf_broadcaster
std::map< std::string, ros::Publisher > event_publisher
std::map< std::string, ros::Publisher > sensor_publisher
void subscribeTopics(ros::NodeHandle &nh)
void subscribeMotorPowerCommand(const kobuki_msgs::MotorPowerConstPtr msg)
ros::Time prev_update_time
void updateOdometry(double w_left, double w_right, ros::Duration step_time)
bool init(ros::NodeHandle &nh)
FakeKobukiRos(std::string &node_name)
TFSIMD_FORCE_INLINE const tfScalar & w() const
void subscribeVelocityCommand(const geometry_msgs::TwistConstPtr msg)
ros::Time last_cmd_vel_time