| | Dave Baum's scanbot w/ bumper? Christopher Zukowski
| | | I was programming a "scanbot" from the Definitive Guide and wanted to install a bumper as I noticed the robot would run into things periocically while "searching" for the light. I wrote some code as follows: void check_bump { if (BUMP == 1) { (...) (24 years ago, 27-Sep-00, to lugnet.robotics.rcx)
| | | | | | | | Re: Dave Baum's scanbot w/ bumper? Dave Baum
| | | | | (...) The problem is subtle. Scanbot (at least scanbot2.nqc) assumes that the drive motors are always running. It only alters their direction during steering. In your code you call OnFor(), which turns on the motors, waits a specified amount of (...) (24 years ago, 4-Oct-00, to lugnet.robotics.rcx)
| | | | | | |