Kaden's Page

Mission Two: Basic Navigation

Task
Drive in an enclosed area (approximately 8’x8’) without contacting walls or obstacles. The mission will last 60 seconds.
Code
To view our Arduino sketch for mission two click here
CAD
To view our 3D model for mission one click here
Next step
Before the next mission can be completed the team must fix issues regarding lateral drift. They also must find a way to incorporate the needed sensors and creat the code to make them run propperly. Any design changes will also need to be updated and uploaded aswell.
Pseudo code
1) Drive in a straight line
2) Have ultrasonic sensor pulse while reading in distance
3) If distance returned to device is less than 40mm for the front or 30mm for the side stop motors
4) Turn 90 or 180 degrees depending on which sensor acivated and read in new distance
5) once clear from obstacles drive forward until sensors read in values greater than 30 and 40mm
6) Continue loop until mission completion


mission2_gchart