
21-01-2005, 13:38
|
 |
 |
'Luzer'
AKA: Zan
no team
Team Role: Alumni
|
|
Join Date: Dec 2001
Rookie Year: 2002
Location: Billerica, MA
Posts: 978
|
|
|
Re: Using REAL ENGLISH in autonomous mode???
Quote:
|
Originally Posted by RIgnazio
I looked at all of that, and then I went to www.kevin.org/frc and there was nothing about using the plain english to run the controller. Please help. I will look at the link you gave me again, hoping for an answer.
|
Well, Dave Lavery stretched the truth a bit when he said it was plain english. Your:
Quote:
Drive forward 1000mm
Turn left
Drive forward 1000mm
|
would be
{CMD_DRIVE, 1000, 0, 0},
{CMD_TURN, (PI_MRAD / 2), 50, 0},
{CMD_DRIVE, 1000, 0, 0},
{NULL, 0, 0, 0}
in commands.h
__________________
Zan Hecht
Scorekeeper: '05 Championship DaVinci Field/'10 WPI Regional
Co-Founder: WPI-EBOT Educational Robotics Program
Alumnus: WPI/Mass Academy Team #190
Alumnus (and founder): Oakwood Robotics Team #992
"Life is an odd numbered problem — the answer isn't in the back of the book." — Anonymous WPI Student
|