ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
An Arduino Uno only has 2kb of RAM available. Because of the non-von-Neumann architecture of the Atmel chip, some things that you would not consider as variables also take up some of that space, specifically string constants, of which rosserial
has a lot. I have not been able to make rosserial
work reliably in a 2kb Arduino compatible. (You can tweak the buffer sizes some, but will eventually run out of space if you have enough publishers and subscribers.)
Some suggestions:
rosserial
approach such as ros_arduino_bridge
, which is must less memory-intensive on the Arduino side. (I've abandoned rosserial
in favor of ros_arduino_bridge
for this reason.)