1 #ifndef PHIDGETS_IK_IK_ROS_I_H 2 #define PHIDGETS_IK_IK_ROS_I_H 6 #include <std_msgs/Bool.h> 7 #include <std_msgs/Float32.h> 8 #include "phidgets_msgs/SetDigitalOutput.h" 39 std::vector<std::shared_ptr<OutputSetter> >
out_subs_;
47 void sensorHandler(
int index,
int sensorValue)
override;
48 void inputHandler(
int index,
int inputValue)
override;
50 bool set_srv_callback(phidgets_msgs::SetDigitalOutput::Request& req,
51 phidgets_msgs::SetDigitalOutput::Response& res);
56 #endif // PHIDGETS_IK_IK_ROS_I_H std::vector< ros::Publisher > sensor_pubs_
std::vector< ros::Publisher > in_pubs_
OutputSetter(IK *ik, int index)
std::vector< std::shared_ptr< OutputSetter > > out_subs_
void set_msg_callback(const std_msgs::Bool::ConstPtr &msg)
ros::ServiceServer out_srv_
ros::NodeHandle nh_private_
ros::Subscriber subscription