APSC1299 Resources
The Applied Science 1299 lab will include a project using sumovore robots from Solarbotics. The purpose of this page is to provide some resources for that project.
Some information on the Sumovore and Line following.
Changes Made to the Sumovore
Sensor Data (Richmond Sumovores)
linef_mod01_.c is a C program for the sumovore that permits following a line in a simple oval shape.
- It is an adaptation of sumoline.jal from solarbotics. The structure of the response() function has been simplified yet the logic is essentially unchanged. This makes the logic more apparent.
This program is for testing the line sensors.
There are five line sensors and five LED's on the sumovore; this program creates a one to one correlation and does nothing else. An LED goes on when the corresponding line sensor sees no reflection (black) and off when the line sensor sees a reflection (white). The intent is to detect a black line (typically made from black electricians tape on a white background).
This program makes the Robot do a short spin to the left followed by a short spin to the right. It then follows objects (turning on a spot) to the left or right as the object moves in front of the object sensors.
Robot moves off line by turning to the left and then turning to the right for a shorter time. The robot then spins to the left stopping when it comes to the line. It generally overshoots the line so it makes a short turn to the right to compensate.

