2 #ifdef COMPILE_FLOAT64_CODE_ROSSERIAL 11 #include <std_msgs/Float64.h> 17 DigitalOut
myled(LED1);
19 void messageCb(
const std_msgs::Float64& msg) {
24 std_msgs::Float64
test;
void publish(const boost::shared_ptr< M > &message) const
Subscriber subscribe(const std::string &topic, uint32_t queue_size, void(T::*fp)(M), T *obj, const TransportHints &transport_hints=TransportHints())
ros::Publisher p("adc",&adc_msg)
void messageCb(const std_msgs::Empty &toggle_msg)
Publisher advertise(const std::string &topic, uint32_t queue_size, bool latch=false)