Overview of Project 3 Slides are available at : Updated 1/28 Due Date for project has been extended to next Friday 2/6.

Slides:



Advertisements
Similar presentations
Mobile Robot ApplicationsMobile Robot Applications Textbook: –T. Bräunl Embedded Robotics, Springer 2003 Recommended Reading: 1. J. Jones, A. Flynn: Mobile.
Advertisements

Jason Howard. Agenda I. How to download robotc II. What is tele-op used for? III. How to build a basic tele-op program IV. Getting the robot to drive.
Chapter 2: Modularization
Navigating the BOE-BOT
Robot Programming. Programming Behaviors Behaviors describe the actions and decisions of your robot.
The Turtle Laboratory Sequence Myles McNally LMICSE Workshop November , 2004 University of Mississippi.
Ramrod III Micro mouse. The Team  Andrew Igarashi – Hardware  Kevin Li – Programming  Stephen Nakamura – Hardware  Quang Ngu - Programming.
The Turtle Laboratory Sequence LMICSE Workshop August , 2006 Villanova University.
Computer Programming and Basic Software Engineering 4. Basic Software Engineering 1 Writing a Good Program 4. Basic Software Engineering 3 October 2007.
Engineering H193 - Team Project Gateway Engineering Education Coalition P. 1 Spring Quarter 2007 Guidelines for Flow Charts and Pseudocode Week 5 Day 1.
The Turtle Laboratory Sequence LMICSE Workshop June , 2005 Alma College.
Integration of Representation Into Goal- Driven Behavior-Based Robots By Dr. Maja J. Mataric` Presented by Andy Klempau.
COMP322/S2000/L23/L24/L251 Camera Calibration The most general case is that we have no knowledge of the camera parameters, i.e., its orientation, position,
Efficient Path Determining Robot RIT Computer Engineering Senior Design Project Jamie Greenberg Jason Torre October 26, 2004 A motorized robot will navigate.
Final Presentation EE 296 – Micromouse Spring 2007 Friday, May 4, 2007 POST 214.
EGR 105 Foundations of Engineering I Fall 2005 – week 10 Project time.
Patent Liability Analysis Andrew Loveless. Potential Patent Infringement Autonomous obstacle avoidance 7,587,260 – Autonomous navigation system and method.
1 Introduction to Coding. 2 Example Codes A lot of example codes are given with Arduino IDE A code can often be based on a previous example rather than.
EDGE AVOIDER ROBOT USING I-BOT mini V3. EDGE AVOIDER USING I-BOT mini V3 Edge Avoider Robot is built using the IR based Line Detecting Module. The modules.
ENGG1100 Lecture7: Introduction To Engineering Design (Digital Logic) Part 2 Kin Hong Wong ENGG1100. Ch7-Digital Logic (part 2) 16/02/15 1.
ENGG1100 Introduction to Engineering Design Digital Logic (Part 2) Prof. Kin Hong Wong Department of Computer Science and Engineering.
ROBOT LOCALISATION & MAPPING: NAVIGATION Ken Birbeck.
Program ultrasonic range sensor in autonomous mode
Capacitor Connection in to LED socket Connection to 5v and ground Connection to light sensor pin.
Coding for the FIRST Tech Challenge: RobotC Presented by: Audrey Yeoh Acknowledgements: Team Unlimited FTC 0001.
Overview of Project 1 Slides are available at : Report due next week Matthew Murach.
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class 2.
Engineering 1020 Introduction to Programming Peter King Winter 2010.
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 3.
Goals of Course Introduction to the programming language C Learn how to program Learn ‘good’ programming practices.
Sound, Touch Sensor, and Motors. Wheeled Vehicles Using the Pilot class: –Constructor Pilot(float wheelDiameter, float trackWidth,Motor leftMotor, Motor.
A tiny turtle robot DEI The University of Padova.
Overview of Project 3: Phase A Slides are available at : Report for all phases due last day of class
VHDL Project II: Array Multiplier Matthew Murach Slides Available at:
Wall Encounter By Made easy by Dwayne Abuel.
2008 SBPLI/FIRST Programming Workshop Tom Boehm Patchogue Medford High School, Team 329 Motorola Inc. Mark McLeod Hauppauge High School Team 358 Northrop.
Com.Tech 3104 Outcome 12 By: Evan And Mark Progress Report.
Robot Programming. Programming Behaviors Behaviors describe the actions and decisions of your robot.
  Yuwon “The Prize” Moon  Seth “Capt. Planet” Wheeler  Mitch “Thriller” Jackson  Michael “Whiteboard Guy” Penney Team Condi Rice.
Overview of Project 4 Slides are available at : Due Tuesday 17 th Matthew Murach.
PHY 235 Robotics Workshop Day 5 Distance Sensing Using The Ultrasonic Ping Sensor.
Homework #2: Functions and Arrays By J. H. Wang Mar. 24, 2014.
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4/Lab3.
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class3/Lab 2.
EV3 Software EV3 Robot Workshop
Available at: – Program Functions to Accept Values Program Functions to Accept Values.
Team RoboTrek Matt Kabert Ryan Bokman Vipul Gupta Advisor: Rong Xu.
ROBOTC Software EV3 Robot Workshop
Casne.ncl.ac.uk Taking care of the CrumbleBot Please do NOT stress the robot's motors 1.Do NOT push the robot 2.Do NOT hold the.
Istituto Tecnico Industriale A.Monaco EURLAB Object Detection Object Detection by Ultrasonic How to install and program a ultra sonic sensor with Arduino.
Forward Until Near Stop when near a wall.
Bot Shop Jane Taylor Dee Wallace Robot C For Vex.
Robotics Programming Wall Follow Line tracking for a set amount of time Line tracking for a distance.
1 Introduction to Coding. 2 Example Codes A lot of example codes are given with Arduino IDE A code can often be based on a previous example rather than.
Introduction to Programming in RobotC
VEX IQ Curriculum Smart Machines Lesson 09 Lesson Materials:
COGNITIVE APPROACH TO ROBOT SPATIAL MAPPING
Introduction to Gobbit Programming
Arduino Basics Connect Arduino to USB port
Programming Design ROBOTC Software Computer Integrated Manufacturing
Programming Part 2 Mod Kit
Forward Until Touch Robot goes forward until it hits a wall.
Selection Learning Objective: to be able to design algorithms that use selection.
ECE 477 Design Review Group 10  Spring 2005 I, Robotic Waitress
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4.
Which way does the robot have to turn to get to the charger?
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4.
Robotics Week 4 Functions and reusable code
Programming Design ROBOTC Software Principles of Engineering
CTY SAR FCPS Alexander Velikanov
Presentation transcript:

Overview of Project 3 Slides are available at : Updated 1/28 Due Date for project has been extended to next Friday 2/6 Matthew Murach

Project 3: The Wall For this project, you are hard coding a set path to avoid an oncoming wall. For this project, you are hard coding a set path to avoid an oncoming wall. The timing methods used from the last project will be used again in this project for distance estimation The timing methods used from the last project will be used again in this project for distance estimation If the code works the robot should detect the oncoming wall and pass-through the finish line If the code works the robot should detect the oncoming wall and pass-through the finish line

Project 3: The Wall For this project your code should be organized roughly as follows: For this project your code should be organized roughly as follows: void right(){} /* do right turn */ void left(){} /* do left turn */ void forward(){} /* go forward 1 unit */ void backward(){} /* go backward 1 unit */ void main(){} /* Call series of directions */ For this project the distance to the wall is unknown. A persistent global variable should be declared to calculate the time needed by the robot to travel from start to finish. For this project the distance to the wall is unknown. A persistent global variable should be declared to calculate the time needed by the robot to travel from start to finish.

Distance Algorithm The distance from start to finish is roughly 3 cells. So dividing the calibration time by 3.0 should yield the time to travel forward one cell. The distance from start to finish is roughly 3 cells. So dividing the calibration time by 3.0 should yield the time to travel forward one cell. Turn times should be hard coded Turn times should be hard coded ****In addition to the original requirements the robot should be able to circumnavigate the wall with left or right openings. ****In addition to the original requirements the robot should be able to circumnavigate the wall with left or right openings.

Wall Navigation When the robot hits the wall it should now implement the following pseudo-code. When the robot hits the wall it should now implement the following pseudo-code. If(hit){/* test right for opening first default to right state*/ backup();right(); forward 1 U; left(); While (time < 1U){ forward(); if (hit) { r_flag = 1 /* indicates no opening at right use left state */ backup();left(); forward 2 U; right();forward();}}

Project 3: The Wall Basic robot parameters Basic robot parameters The robot contains two motors and two sensors The robot contains two motors and two sensors To go forward both motors should be turned on i.e. fd(0) and fd(1) To go forward both motors should be turned on i.e. fd(0) and fd(1) To go right, the left motor should go forward and the right motor should go backward. To go right, the left motor should go forward and the right motor should go backward. fd(0); /* left motor forward */ bk(1); /* right motor backward */

Project 3: The Wall There are times when a variable power level for the motor is desired. Using the motor() sub- function allows this. There are times when a variable power level for the motor is desired. Using the motor() sub- function allows this. motor(0,50); /* 50% of power for motor 0 in forward */ motor(0,-33); /* 33% power for motor 0 in reverse */ The usage of sensors is simple just place your sensors connections in a digital port. Operation is the same as before. The usage of sensors is simple just place your sensors connections in a digital port. Operation is the same as before. The motor should be connected as follows on the next slide The motor should be connected as follows on the next slide

Motor Connection Pins 1 and 3 should be connected to the motor. The bank of pins corresponding to each motor.

Project 3: The Wall Additional notes Additional notes Your machine should ONLY require one calibration period to run the course. Hard coding of distances is NOT permitted. Your machine should ONLY require one calibration period to run the course. Hard coding of distances is NOT permitted. The robot should travel the length of the course and store this time as a global variable i.e. The robot should travel the length of the course and store this time as a global variable i.e. persistent int a; The robot after determining this value should run the course flawlessly…well maybe… The robot after determining this value should run the course flawlessly…well maybe…

Project 3: The Wall This project will require the following. This project will require the following. Each design team consisting of 1-2 students should submit a brief 2-3 page report detailing the design and implementation that was chosen. Each design team consisting of 1-2 students should submit a brief 2-3 page report detailing the design and implementation that was chosen. In addition, all C files needed for this project should be well commented and readable. In addition, all C files needed for this project should be well commented and readable. Also each team will be required to show that the design works 3 out of 4 times (this maybe increased) on the course. Also each team will be required to show that the design works 3 out of 4 times (this maybe increased) on the course.