Robot Report Apendix

Robot Report Apendix - eftIbumperbumpers hit? Areright...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Is right bumper hit? No Yes Proceed with main program Move in reverse and pivot right Continue with main program left bumper hit? es ove in reverse and pivot right ontinue with main program No oceed with main program Are both bumpers hit? No Yes Proceed with main program Move in reverse and pivot right Continue with main program P a g e | A1 I/O Pin Assignments
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
P a g e | A2
Background image of page 2
P a g e | A3 Flowcharts: This flowchart demonstrates the robot’s normal thought process
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
P a g e | A4 The following flowcharts demonstrate the robot’s thought process upon impact.
Background image of page 4
P a g e | A5
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
P a g e | A6 Programming Code #include <htc.h> #include <PICinit.h> void backup () { output_low( 'c' ,0); output_high( 'c' ,5); output_low( 'c' ,3); output_high( 'c' ,4); } void forward () { output_high( 'c' ,0); output_low( 'c' ,5); output_high( 'c' ,3); output_low( 'c' ,4); } void stop () { output_low( 'c' ,0); output_low( 'c' ,5); output_low( 'c' ,3); output_low( 'c' ,4); } void rightpivot () { output_high( 'c' ,0); output_low(
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/30/2011 for the course ENGINEERIN E-101 taught by Professor Dr.doe during the Spring '09 term at BC.

Page1 / 10

Robot Report Apendix - eftIbumperbumpers hit? Areright...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online