Robbie is an open-sourced quasi-humanoid robot platform made by Vishnu Iyer. The main purpose of Robbie is to carry small items back and forth between so-called "base points." The versatility of Robbie in this task, however, is attributed to a series of command scripts created in various ways by the user, known as RobCode files. These files are formatted onto an SD card which is then read by Robbie's SD card shield. Here is a list of RobCode keywords and symbols:
. f_x
moves forward x centimeters
. b_x
moves backwards x centimeters
. l_x
turns left
. r_x
turns x degrees right
. c_x
turns LED to a certain color
. d_0
drops panel
. m_0
moves panel to mid level
. u_0
moves panel to held up position
- Author: Vishnu Iyer
- Version: 1.0 alpha
- Last updated: 10/21/14
Go to my project page and read the Instructable on how to build Robbie. Then download the code and follow the instructions presented on the page.
. void color(int r, int g, int b)
~ Changes the color of the LED, r codes for red on/off, g codes for green on/off, b for blue on/off (each is 1 or 0)
. void command(String str)
~ reads RobCode command string (str) and converts it to an action
. void drive(int i)
~ moves the robot's motors. 1 is for forward, 2 for reverse, 3 for left, 4 for right.
Call the function command(String) with an argument from the library presented above. This will trigger the robot's actions. You can also write code of your own using the methods presented in the program. If you have any questions about the code, please do not hesitate to send me an email.