5 #ifndef ARMADILLO2_HW_ROBOTEQ_DIFF_DRIVE_H 6 #define ARMADILLO2_HW_ROBOTEQ_DIFF_DRIVE_H 12 #include <std_msgs/String.h> 14 #define ROBOTEQ_PORT_PARAM "~roboteq_port" 15 #define ROBOTEQ_BAUD_PARAM "~roboteq_baud" 16 #define RIGHT_WHEEL_JOINT_PARAM "~right_wheel_joint" 17 #define LEFT_WHEEL_JOINT_PARAM "~left_wheel_joint" 40 std_msgs::String speak_msg;
58 #endif //ARMADILLO2_HW_ROBOTEQ_DIFF_DRIVE_H
void publish(const boost::shared_ptr< M > &message) const
RoboteqDiffDrive(ros::NodeHandle &nh)
void registerHandles(hardware_interface::JointStateInterface &joint_state_interface, hardware_interface::VelocityJointInterface &velocity_joint_interface)
std::string left_wheel_joint_
boost::chrono::steady_clock time_source
std::string right_wheel_joint_
ros::Publisher espeak_pub_
void read(const ros::Duration elapsed)
void speakMsg(std::string msg, int sleep_time)
roboteq::Roboteq * roboteq_
void write(const ros::Duration elapsed)
roboteq::serial_controller * roboteq_serial_
std::string roboteq_port_
time_source::time_point last_time_