Go to the documentation of this file.
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");
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
ServiceServer advertiseService(AdvertiseServiceOptions &ops)
auto setDigitalOutCallback(cob_phidgets::SetDigitalSensor::Request &req, cob_phidgets::SetDigitalSensor::Response &res) -> bool
auto onDigitalOutCallback(const cob_phidgets::DigitalSensorConstPtr &msg) -> void
Publisher advertise(AdvertiseOptions &ops)
ros::ServiceServer _srvTriggerValue
ros::Publisher _pubAnalog
auto setTriggerValueCallback(cob_phidgets::SetTriggerValue::Request &req, cob_phidgets::SetTriggerValue::Response &res) -> bool
ros::Subscriber _subDigital
Subscriber subscribe(const std::string &topic, uint32_t queue_size, const boost::function< void(C)> &callback, const VoidConstPtr &tracked_object=VoidConstPtr(), const TransportHints &transport_hints=TransportHints())
ros::Publisher _pubDigital
ros::ServiceServer _srvDataRate
auto setDataRateCallback(cob_phidgets::SetDataRate::Request &req, cob_phidgets::SetDataRate::Response &res) -> bool
ros::ServiceServer _srvDigitalOut
int main(int argc, char **argv)
cob_phidgets
Author(s): Florian Weisshardt
autogenerated on Wed Nov 8 2023 03:47:41