Robotics Programming Review and Quiz
What do you recall about the following? < > <= >= == && || condition while if else Shaft encoder int motor[] SensorValue[] wait1Msec() Going straight.
How far will this robot move if it has 10 cm diameter wheels? SensorValue[rightEncoder] = 0; while(SensorValue[rightEncoder] < 1800) { motor[rightMotor] = 63; motor[leftMotor] = 63; } motor[rightMotor] = 0; motor[leftMotor] = 0;
Use the following to set up the motors and encoders for your robot.
Programming Review Write a program to navigate through Atlantis Windows -> Virtual Worlds -> The Ruins of Atlantis. Try to get to at least the first two spots.