Consider a program that will make your Boe-Bot navigate counter-clockwise along
ID: 3771107 • Letter: C
Question
Consider a program that will make your Boe-Bot navigate counter-clockwise along a circular course as shown below. Assume the diameter of the circle to be about 1 m.
In the program given below, select the values for X (P13) and Y (P12) in the PULSOUT commands that will result in the desired circular motion of the Boe-Bot.
'{$STAMP BS2}
'{$PBASIC 2.5}
DEBUG "Program running!"
pulseCount VAR Word ' Pulse count to servos
FREQOUT 4, 2000, 3000 ' Signal program start/reset.
' -----[ Main Routine ]------------------------------------------------
Main:
DO
PULSOUT 13, X
PULSOUT 12, Y
PAUSE 20
LOOP
(Select the one best answer from the choices given below.)
X = 850 and Y = 650 (Full Speed: P13 CCW, P12 CW = Forward)
X = 650 and Y = 850 (Full Speed: P13 CW, P12 CCW = Backward)
X = 850 and Y = 850 (Full Speed: P13 CCW, P12 CCW = Right rotate)
X = 650 and Y = 650 (Full Speed: P13 CW, P12 CW = Left rotate)
X = 750 and Y = 850 (P13 Stopped, P12 CCW Full speed = Pivot back left)
X = 650 and Y = 750 (P13 CW Full Speed, P12 Stopped = Pivot back right)
X = 750 and Y = 750 (P13 Stopped, P12 Stopped = Stopped) y>
X = 760 and Y = 740 (P13 CCW Slow, P12 CW Slow = Forward slow)
X = 770 and Y = 730 (P13 CCW Med, P12 CW Med = Forward medium)
X = 850 and Y = 700 (P13 CCW Full Speed, P12 CW Medium = Veer right)
X = 800 and Y = 650 (P13 CCW Medium, P12 CW Full Speed = Veer left)
a.X = 850 and Y = 650 (Full Speed: P13 CCW, P12 CW = Forward)
b.X = 650 and Y = 850 (Full Speed: P13 CW, P12 CCW = Backward)
c.X = 850 and Y = 850 (Full Speed: P13 CCW, P12 CCW = Right rotate)
d.X = 650 and Y = 650 (Full Speed: P13 CW, P12 CW = Left rotate)
e.X = 750 and Y = 850 (P13 Stopped, P12 CCW Full speed = Pivot back left)
f.X = 650 and Y = 750 (P13 CW Full Speed, P12 Stopped = Pivot back right)
g.X = 750 and Y = 750 (P13 Stopped, P12 Stopped = Stopped) y>
h.X = 760 and Y = 740 (P13 CCW Slow, P12 CW Slow = Forward slow)
i.X = 770 and Y = 730 (P13 CCW Med, P12 CW Med = Forward medium)
j.X = 850 and Y = 700 (P13 CCW Full Speed, P12 CW Medium = Veer right)
k.X = 800 and Y = 650 (P13 CCW Medium, P12 CW Full Speed = Veer left)
Explanation / Answer
It should be
X = 650 and Y = 650 (Full Speed: P13 CW, P12 CW = Left rotate)
X = 650 and Y = 650 (Full Speed: P13 CW, P12 CW = Left rotate)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.