arduino_v3.1 - AutoModelCar/AutoModelCarWiki GitHub Wiki

run the commands below to install roslib in your SketchbookLibraries:

for example if PathToYourSketchbookLibraries is ../arduino-1.8.2/libraries

cd catkin_ws/src
git clone https://github.com/ros-drivers/rosserial
cd ..
catkin build rosserial_arduino
source devel/setup.bash
rosrun rosserial_arduino make_libraries.py ../arduino-1.8.2/libraries

Or follow the link below: Arduino IDE Setup for ROS