The rosserial package details are here.
The rosserial package has memory issues on Arduino Unos. An alternate bridge is here.
Install Arduino on Linux by downloading it from the Arduino website.
Do not install it with
apt-get (the version installed is not current).
In the Arduino IDE menu choose Sketch→Include Library→Manage Libraries, search for rosserial and install the library.
If you get a /dev/ttyACM0 permission error on Linux when uploading a sketch, you can resolve it by adding yourself to the dialout group. You will have to logout and then log back in before the group change is recognized. You can add yourself with:
Install the binaries with:
In the Arduino IDE menu, load the Hello World sketch from File→Examples→Rosserial Arduino Library.
Make sure roscore is running and ROS_MASTER_URI is set properly.
Run the client application with:
/dev/ttyACM0argument to your port value.
Verify the values with:
/dev/ttyACM0or your baud rate
115200may be different