This preview shows page 1. Sign up to view the full content.
Unformatted text preview: protected: // this is to hold the sonar device form the robot //ArRangeDevice *mySonar; // what the action wants to do; used by the action resover after fire() ArActionDesired myDesired; double myInterval; // distance at which to start turning //double myTurnThreshold; // amount to turn when turning is needed //double myTurnAmount; // remember which turn direction we requested, to help keep turns smooth //int myTurning; // -1 == left, 1 == right, 0 == none };...
View Full Document
This note was uploaded on 07/19/2011 for the course ECE 101 taught by Professor Chu during the Spring '11 term at Punjab Engineering College.
- Spring '11