robotics summer training programming #4: autonomous scoring
DESCRIPTION
Robotics Summer Training Programming #4: Autonomous Scoring. Objectives:. Complete your library of functions Create an autonomous program for your robot to score a goal. Autonomous Project. Score a sack into a trough autonomously. Stage 1: Planning (Algorithm, Flowchart, Pseudocode). - PowerPoint PPT PresentationTRANSCRIPT
Weston Schreiber
Robotics Summer TrainingProgramming #4:
Autonomous Scoring
Weston Schreiber
Objectives:• Complete your library of
functions• Create an autonomous
program for your robot to score a goal.
Weston Schreiber
Autonomous Project
• Score a sack into a trough autonomously
Weston Schreiber
Stage 1: Planning(Algorithm, Flowchart, Pseudocode)
Stage 2: Coding(Variables, Functions, if statements, Loops)
Stage 3: Error Analysis(Syntax Errors, Logic Errors, Readdress Plan)
Weston Schreiber
Autonomous: Starting Position
• Make sure your robot starts in a legal position
GOODBAD
Weston Schreiber
Autonomous Scoring:
• Raise Claw Up.• Drive forward ~5 ft.• Open Claw.
Weston Schreiber
Which set of function calls would correctly accomplish our goal?Click the number corresponding to the correct answer on your clicker.
A. B. C. D.ArmLift() ArmLift() ArmLift() DriveStraight()
DriveStraight() DriveStraight() DriveStraight() ArmLift()
Stop() Wait() Wait() OpenClaw()
OpenClaw() Stop() OpenClaw()
CloseClaw() OpenClaw()
Weston Schreiber
Stage 1: Planning(Algorithm, Flowchart, Pseudocode)
Stage 2: Coding(Variables, Functions, if statements, Loops)
Stage 3: Error Analysis(Syntax Errors, Logic Errors, Readdress Plan)
Weston Schreiber
Other EasyC Programming Resources
• EasyC Help Menu great tutorials, and examples
• www.vexforums.com everyone sign in and get an account
• Baltimore City’s Robotics Peer Learning Community
• http://www.gabrielse.net/robotics/summer/powerpoints/vex_powerpoints.php– There is step by step instructions (with
screenshots) on how to program a protobot