Forward
Forward
▪ Computation Of Rotations/Degrees
▪ Forward, Backwards and turning
REVIEW
OF PARTS
B E A M
G E A R
P I N S
S H A F T
W H E E L
S T A N D O F F
OBJECTIVES:
❑ Understand the sequences within programs to move the
robot forward, backward, and turn; and
❑ Apply precise programming to move exact distances;
IMPORTANT TO KNOW
Downloading of Firmware
• Create New File
Reminders:
• Select Firmware Download
Turn on Robot Brain and plug it into the
computerDownload
Firmware using USB cable.
allows the robot to
“understand” RobotC programming.
CONFIGURING MOTORS SETUP (MOTORS TAB)
TRICART IQ
Motor Setup
Original Motor Setup
CONFIGURING SENSORS SETUP (DEVICES TAB)
SECONDS
❑ used to measure the time or duration of the
robot’s movement
ROTATIONS
❑ act of turning around a central point
ROTATIONS
1 complete
turn of a = 1 rotation
motor
Rotation formula:
d
r=
Cw
Wherein:
r= number of rotations needed
d=target distance
Cw=Circumference of the Wheel
TURNING
COMPUTATION OF TURNING(ROTATIONS AND DEGREES)
TURNING
TURN also known as point turn is an act of rotating on
a central point.
Take Note:
The command will turn the motor (not the robot) for the
specified number of degrees/rotations
TURNING
Quantity
on how UnitType
long you you want Speed of
want the to the motor
motors to measure
turn
COMPUTATION: TURNING
Computation of rotations Wherein:
a(Cr)
n= n--number of rotations needed
(Cw) 360⁰ a--target angle of turn
Cr--Circumference of the Robot
Cw--Circumference of the Wheel
Conversion of rotations to degrees
degrees=n x 360⁰
ROLES FOR THE DAY
◼Member 1: Builder
◼Member 2: Programmer
◼Member 3: Journalist
◼Member 4: Checker
PRACTICE ACTIVITY: