Parallax Boe-Bot Student Manual page 203

Hide thumbs Also See for Boe-Bot:
Table of Contents

Advertisement

Exercises
1. Write a
DEBUG
on a new line. Adjust the
2. Using RoamingWithWhiskers.bs2 as a reference, write a
that calls the
Back_Up
Write down the modifications you will have to make to the Main Routine section
of RoamingWithWhiskers.bs2.
Projects
1. Modify RoamingWithWhiskers.bs2 so that the Boe-Bot makes a 4 kHz beep that
lasts 100 ms before executing the evasive maneuver. Make it beep twice if both
whisker contacts are detected during the same sample.
2. Modify RoamingWithWhiskers.bs2 so that the Boe-Bot roams in a 1 yard (or
meter) diameter circle. When you touch one whisker, it will cause the Boe-Bot
to travel in a tighter circle (smaller diameter). When you touch the other
whisker, it will cause the Boe-Bot to navigate in a wider diameter circle.
Chapter 5: Tactile Navigation with Whiskers · Page 189
command for TestWhiskers.bs2 that updates each whisker state
command so that it is 250 instead of 50.
PAUSE
subroutine once and the
subroutine
Turn_Away
subroutine twice.
Turn_Left

Advertisement

Table of Contents
loading

Table of Contents