ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
http://wiki.ros.org/rosserial/Overview/Limitations Part 1.4 talks about issues with arrays and the need to specify the length of the array explicitly - this may be the issue
This page http://wiki.ros.org/rosserial_arduino/Tutorials/Blink shows you how to implement a subscriber.
2 | No.2 Revision |
http://wiki.ros.org/rosserial/Overview/Limitations Part 1.4 talks about issues with arrays and the need to specify the length of the array explicitly - this may be the issue
This page http://wiki.ros.org/rosserial_arduino/Tutorials/Blink shows you how to implement a subscriber.
3 | No.3 Revision |
http://wiki.ros.org/rosserial/Overview/Limitations Part 1.4 talks about issues with arrays and the need to specify the length of the array explicitly - this may be the issue
http://wiki.ros.org/rosserial/Overview/Publishers%20and%20Subscribers
shows how to read the data in a message
void messageCb(const std_msgs::Float64& msg)
if(msg.data > 1.0)
digitalWrite(13, HIGH-digitalRead(13)); // blink the led
}
4 | No.4 Revision |
http://wiki.ros.org/rosserial/Overview/Limitations Part 1.4 talks about issues with arrays and the need to specify the length of the array explicitly - this may be the issue
http://wiki.ros.org/rosserial/Overview/Publishers%20and%20Subscribersexample here http://wiki.ros.org/rosserial/Overview/Messages of generating messages that contain arrays
http://wiki.ros.org/rosserial/Overview/Publishers%20and%20Subscribers shows how to read the data in a message
void messageCb(const std_msgs::Float64& msg)
if(msg.data > 1.0)
digitalWrite(13, HIGH-digitalRead(13)); // blink the led
}
5 | No.5 Revision |
http://wiki.ros.org/rosserial/Overview/Limitations Part 1.4 talks about issues with arrays and the need to specify the length of the array explicitly - this may be the issue
example here http://wiki.ros.org/rosserial/Overview/Messages of generating messages that contain arraysarrays, and instructions on how to send them as messages
http://wiki.ros.org/rosserial/Overview/Publishers%20and%20Subscribers shows how to read the data in a message
void messageCb(const std_msgs::Float64& msg)
if(msg.data > 1.0)
digitalWrite(13, HIGH-digitalRead(13)); // blink the led
}