19 #include <cob_phidgets/SetDataRate.h> 20 #include <cob_phidgets/SetDigitalSensor.h> 21 #include <cob_phidgets/SetTriggerValue.h> 23 #include <cob_phidgets/AnalogSensor.h> 24 #include <cob_phidgets/DigitalSensor.h> 54 cob_phidgets::SetDigitalSensor::Response &res) ->
bool 56 res.state = req.state;
61 cob_phidgets::SetDataRate::Response &res) ->
bool 66 cob_phidgets::SetTriggerValue::Response &res) ->
bool 73 int main(
int argc,
char **argv)
75 ros::init(argc, argv,
"cob_phidgets_sim");
auto setDataRateCallback(cob_phidgets::SetDataRate::Request &req, cob_phidgets::SetDataRate::Response &res) -> bool
Subscriber subscribe(const std::string &topic, uint32_t queue_size, void(T::*fp)(M), T *obj, const TransportHints &transport_hints=TransportHints())
ros::Subscriber _subDigital
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
auto setTriggerValueCallback(cob_phidgets::SetTriggerValue::Request &req, cob_phidgets::SetTriggerValue::Response &res) -> bool
ros::ServiceServer _srvTriggerValue
ros::ServiceServer _srvDataRate
ServiceServer advertiseService(const std::string &service, bool(T::*srv_func)(MReq &, MRes &), T *obj)
ros::Publisher _pubAnalog
ros::Publisher _pubDigital
auto setDigitalOutCallback(cob_phidgets::SetDigitalSensor::Request &req, cob_phidgets::SetDigitalSensor::Response &res) -> bool
Publisher advertise(const std::string &topic, uint32_t queue_size, bool latch=false)
ros::ServiceServer _srvDigitalOut
auto onDigitalOutCallback(const cob_phidgets::DigitalSensorConstPtr &msg) -> void
int main(int argc, char **argv)