code for Arduino control sketch
Arduino control is a Arduino sketch of controlling the four motors of the Robot. It needs rosserial package and webtools
###Installation:
-
Install rosserial
Because of Binary is broken for ROS Groovy, install from source rosserial
-
Install arduino_control
git clont https://github.com/Autonomous-Robot/arduino_control.git
-
Install webtools
###Configuration
-
Change permisson of serial port of Arduino
sudo chmod a+rw /dev/ttyACM0
Change ttyACM0 accordingly
- Upload sketch to Arduino
###Run
-
Run roscore
roscore
-
Run rosserial
rosrun rosserial_python serial_node.py /dev/ttyACM0
Change ttyACM0 accordingly