Beruflich Dokumente
Kultur Dokumente
CJ Chung
Associate Professor of Computer Science
Founder and Director of Robofest
Lawrence Technological University
This program is possible thanks to:
Introduction to Robotics
Introduction to Robofest and Robot Sumo
Introduction to Lego NXT
Introduction to NXTG
Basic programs
Motors
Wait
Turns
Introduction to Robotics
Sensors
Power sources
Communication mechanism
What is Robofest?
100% Autonomous
Affordable
Challenging: Unknown problem
No direct adult help allowed during the
competition
Qualifiers and a World Championship
Various categories including Robot Sumo
Two divisions:
5th – 9th grade: Jr. Division
9th – 12th grade: Sr. Division
RoboSumo
Push the other robot out of the Sumo ring
Specifications
Maximum robot
1kg (2.2 lbs) 2 kg (4.4 lbs)
mass
Maximum robot 30 cm (11.75
23 cm (9 inches)
width and length inches)
Maximum robot 30 cm (11.75
no limit
height inches)
Any;
Robot type Lego Mindstorms or NXT any
recommended.
Why Sumo?
Left motor: A
Right motor: C
Touch: 1
Light: 3
Ultra Sonic
(distance): 4
Introduction to NXTG Programming
Please go through Getting Started and Software
Overview after this class
First NXT program: Go forward for 2 sec. and stop
Gray button
First NXT Program: Go forward for 2 sec.
and stop (Review)
Do not forget:
Save your programs
Meaningful file (program) names
Use comments
2nd Program: ForwardBack
Go Forward 2 rotations
Wait 3 seconds, then
Backward 1 rotation
Go Forward 2 rotations, Wait 3 seconds then
Backward 1 rotation – ForwardBack
Making Turns
Turn left
stop
Left wheel Right wheel
Spin left
Forward 2 rotations,
Turn Right 180 Degrees,
and Forward 2 rotations
14 cm
Forward 1 rotation,
Spin right 180 degrees
Forward 1 rotation
14 cm
Start line
box
box
www.ortop.org/NXT_Tutorial: a great
tutorial on how to program in NXTG
nxtasy.org: with more information than
you could ever want about LEGO robots
and programming; a great place to ask
questions