2 #ifndef ARMADILLO2_HW_RICBOARD_PUB_H 3 #define ARMADILLO2_HW_RICBOARD_PUB_H 10 #include <sensor_msgs/Range.h> 11 #include <sensor_msgs/NavSatFix.h> 12 #include <sensor_msgs/Imu.h> 13 #include <std_msgs/Float64.h> 14 #include <std_msgs/String.h> 18 #include <boost/thread/thread.hpp> 19 #include <boost/chrono/chrono.hpp> 22 #define RIC_PORT_PARAM "~ric_port" 23 #define TORSO_JOINT_PARAM "~torso_joint" 24 #define RIC_PUB_INTERVAL 0.1 //secs 25 #define RIC_WRITE_INTERVAL 0.05 //secs 26 #define RIC_DEAD_TIMEOUT 1 //secs 27 #define MAX_RIC_DISCONNECTIONS 5 28 #define SERVO_NEUTRAL 1500 45 bool load_ric_hw_ =
true;
46 int ric_disconnections_counter_ = 0;
71 std_msgs::String speak_msg;
91 #endif //ARMADILLO2_HW_RICBOARD_PUB_H
ros::Publisher espeak_pub_
void publish(const boost::shared_ptr< M > &message) const
std::vector< hardware_interface::JointStateHandle > joint_state_handles_
ric_interface::RicInterface ric_
ros::Publisher ric_imu_pub_
std::vector< hardware_interface::JointHandle > pos_handles_
ros::Timer ric_pub_timer_
ros::Publisher ric_ultrasonic_pub_
void speakMsg(std::string msg, int sleep_time)
ros::Publisher ric_gps_pub_