We've designed a Cougar Workshop Bot. And the Incredibots have designed an EV3 version. It's a simple robot designed just for the workshop. So If you don't already have a robot for the workshop try this one. You should be able to build it in about 1/2 an hour. It's the simplest robot we could come up with that could do ALL of the labs. It's only got 79 parts plus 6 wires. With 2 light and 2 touch sensors appropriately located you can try out the back-to-wall and advance-to-line programs.
Last Updated on Wednesday, 17 September 2014 07:59
Advance To Line program
Written by Joey
Wednesday, 07 October 2009 22:53
This is our Cougar Advance To Line program. It is used to line up perpendicular to a line. We used it a lot last year to re-align mid run out on the field.
This program is based on our 2008 robot, "CA White". Motor C is on the left side of the robot. Motor B is on the right side of the robot. Light sensor 1 is on the left side of the robot. Light sensor 4 is on the right side of the robot.
It will, in two threads:
Run motor C at 90% power, 2 degrees per loop, checking light sensor 1 to see if the light level has gone below 50
Run motor B at 90% power, 2 degrees per loop, checking light sensor 4 to see if the light level has gone below 50.
Each motor will stop when the light sensor associated with them drops below 50, causing the robot to align perpendicular to a line