ECE 497 Introduction to Mobile Robotics Spring 09-10

Similar documents
ECE 425 Introduction to Mobile Robotics Spring 10-11

Endurance R/C Wi-Fi Servo Controller 2 Instructions

[DOING AN ODA: STEP-BY-STEP INSTRUCTIONS]

WEB I/O. Wireless On/Off Control USER MANUAL

BEI Device Interface User Manual Birger Engineering, Inc.

Blue Bamboo P25 Device Manager Guide

The CO2 Sensor Calibration Kit

How To Handbook For Learners

My Blogs: To Add New Blog Post: o Click on the My Learn360 link. You will then see eight different tabs (below).

ADVANCED ENERGY VEHICLE DESIGN PROJECT. AEV Lab Guidelines

ECE2049: Foundations of Embedded Systems Lab Exercise #1 C Term 2018 Implementing a Black Jack game

Table of Contents. Chapter 1: Software Installation...1. Chapter 2: Running the Software II. Daily Practical Operation...10

Veterinary Digital X-Ray System Quick Start Guide

MAXI Remote Location Kit MRLK 900 Installation and Configuration Manual

G r a d e. 2 M a t h e M a t i c s. Blackline Masters

2012 Monitored Rehab Systems E1201 Manual Kneelax. Installation and user manual

Adding work to your TaskStream Portfolio (DRF)

CRUX II/BTGPS USER GUIDE. Model:D1598

Nebraska 4-H Robotics and GPS/GIS and SPIRIT Robotics Projects

Sutron SatLink2 Troubleshooting Instructions

Laboratory 1: Motion in One Dimension

ADI-100 Interrupter. Operator s Manual. 526 S. Seminole Bartlesville, OK /

Context-Aware Planning and Verification

Quick Start Guide for the PULSE PROFILING APPLICATION

FLL Programming Workshop Series

Faculty of Electrical & Electronics Engineering BEE4233 Antenna and Propagation. LAB 1: Introduction to Antenna Measurement

Congratulations on your decision to purchase the Triquetra Auto Zero Touch Plate for All Three Axis.

Advanced Excel. Table of Contents. Lesson 3 Solver

ArbStudio Triggers. Using Both Input & Output Trigger With ArbStudio APPLICATION BRIEF LAB912

PROSOFT User Manual 3.03 VERSION

Lab 1: Testing and Measurement on the r-one

CREATING (AB) SINGLE- SUBJECT DESIGN GRAPHS IN MICROSOFT EXCEL Lets try to graph this data

MIDLAND PROGRAMING G14

MLP Troubleshooting Fault Isolation Checklist for MLP

Physics 131 Lab 1: ONE-DIMENSIONAL MOTION

Using Puzzilla.org to Find a Family to Research

Physics 253 Fundamental Physics Mechanic, September 9, Lab #2 Plotting with Excel: The Air Slide

Digital Photo Guide. Version 8

Curriculum Department Bristol City Schools Bristol, TN

2. Now you need to create permissions for all of your reviewers. You need to be in the Administration Tab to do so. Your screen should look like this:

Faculty Lecture Capture Guide

Studuino Icon Programming Environment Guide

EE 210 Lab Exercise #3 Introduction to PSPICE

OzE Field Modules. OzE School. Quick reference pages OzE Main Opening Screen OzE Process Data OzE Order Entry OzE Preview School Promotion Checklist

Practical Assignment 1: Arduino interface with Simulink

Overview... 3 Starting the Software... 3 Adding Your Profile... 3 Updating your Profile... 4

WIRES-X Portable Digital Node Function. Instruction Manual

VOLTAGE. User Guide ACCESSORIES. External Sensor DT140. for MicroLog EC600 and EC V ±0.05V ±3% (before calibration)

IVCAD VNA Base Load Pull with Active/Hybrid Tuning. Getting Started v3.5

WIRES-X Portable Digital Node Function. Instruction Manual

CURRENT. User Guide ACCESSORIES. External Sensor DT139. for MicroLog EC600 and EC mA ±0.1mA ±3% (before calibration)

DXXX Series Servo Programming...9 Introduction...9 Connections HSB-9XXX Series Servo Programming...19 Introduction...19 Connections...

CHM 109 Excel Refresher Exercise adapted from Dr. C. Bender s exercise

Step 1: Set up the variables AB Design. Use the top cells to label the variables that will be displayed on the X and Y axes of the graph

Relationship to theory: This activity involves the motion of bodies under constant velocity.

Honors Chemistry Summer Assignment

DataCAD 18 Softlock. Universal Installer. Installation. Evaluation

Microscope Labs #1 and #2 e Lab and Hair Lab. Day 1 - e Lab

LAB EXERCISE 3 FET Amplifier Design and Linear Analysis

INDEX...2 INTRODUCTION...3 IMPORTANT NOTES...3 INSTALLING THE SOFTWARE...3 ST-965 PROGRAMMING SOFTWARE...6

ifeel Sensor USER GUIDE SUPPLEMENT

due Thursday 10/14 at 11pm (Part 1 appears in a separate document. Both parts have the same submission deadline.)

PaperCut MF - General Elatec TWN Reader Tasks

Activity 7.1 More Dimensioning

QUICKSTART

Catalog

Excel Lab 2: Plots of Data Sets

reference guide reference guide reference guide

CHAPTER1: QUICK START...3 CAMERA INSTALLATION... 3 SOFTWARE AND DRIVER INSTALLATION... 3 START TCAPTURE...4 TCAPTURE PARAMETER SETTINGS... 5 CHAPTER2:

Auto Color Diagnosis Guide

PLA Planner Student Handbook

Introduction to Simulation of Verilog Designs Using ModelSim Graphical Waveform Editor. 1 Introduction. For Quartus II 13.1

Chief Architect X3 Training Series. Layers and Layer Sets

Lab 8: Introduction to the e-puck Robot

Vision Ques t. Vision Quest. Use the Vision Sensor to drive your robot in Vision Quest!

ArcGIS Tutorial: Geocoding Addresses

XLR PRO Radio Frequency (RF) Modem. Getting Started Guide

LESSONS Lesson 1. Microcontrollers and SBCs. The Big Idea: Lesson 1: Microcontrollers and SBCs. Background: What, precisely, is computer science?

How to Pair AbiBird Sensor with App and Account

Next Back Save Project Save Project Save your Story

Photo Story Instructions!

AgilEye Manual Version 2.0 February 28, 2007

WBT900. User s Manual. 900 MHz Wireless BACnet MSTP Radio. Page 1

Table 1. Placing the Sensor in the Sensor Cradle. Step Instruction Illustration

INDEX...2 INTRODUCTION...3 IMPORTANT NOTES...3 INSTALLING THE SOFTWARE...3 ST-965 PROGRAMMING SOFTWARE...6

Sensor Calibration Lab

Graph Matching. walk back and forth in front of. Motion Detector

Topcon Receiver Utility: GNSS Receiver Firmware Update Process. Oscar R. Cantu

Optika ISview. Image acquisition and processing software. Instruction Manual

Modeling Your Motion When Walking

Momo Software Context Aware User Interface Application USER MANUAL. Burak Kerim AKKUŞ Ender BULUT Hüseyin Can DOĞAN

Two Dimensional Motion Activity (Projectile Motion)

TRBOnet Enterprise/PLUS

Note: Objective: Prelab: ME 5286 Robotics Labs Lab 1: Hello Cobot World Duration: 2 Weeks (1/22/2018 2/02/2018)

Experiment P02: Understanding Motion II Velocity and Time (Motion Sensor)

GXCapture 8.1 Instruction Manual

How to Plot from Adobe Acrobat. 2 June 2017

Name: Period: Student Class Number:

Antenna and Propagation

Flash Blaster II v.2.00 for the Falcon digital console Falcon ENGLISH

Transcription:

Lab 1 Getting to Know Your Robot: Locomotion and Odometry (Demonstration due in class on Thursday) (Code and Memo due in Angel drop box by midnight on Thursday) Read this entire lab procedure and complete Part 1 before coming to lab. Purpose: The purpose of this lab is to confirm that you have all of the necessary software installed on your computer to connect to and program the Traxster II. The secondary goal is to get the Traxster II moving and to examine problems with raw odometry for pose estimation. Equipment: Base Robot Masking Tape Ruler Software: Microsoft Visual Studio.Net 2008 with C# Serializer.NET library and firmware Bluetooth transmitter Part 1 Software Installation Microsoft Visual Studio with C# If your laptop did not come with Microsoft Visual Studio, please follow these directions to install it. 1. Click Start -> Control Panel 2. Click Run Advertised Programs 3. Select Microsoft Visual Studio 2008 Professional 4. Click Run 5. Click Next through all of the default options Serializer library Click the following link to download the Serializer library http://www.roboticsconnection.com/multimedia/libraries/installer_15.msi Lab1.doc C.A. Berry Page 1 of 8

Bluetooth Transmitter You will connect to the Traxster II through a Bluetooth Serial Port. If your laptop did not come with a Bluetooth radio, please follow these directions for the HP nw8440. (If you have a different computer search the web for the driver) 1. Log into your computer as localmgr 1. Download and run the HP Integrated Wireless driver installer (sp38145.zip), in the course Angel folder for Lab 1. This folder contains documentation files for the robot hardware and software in this folder. This folder also contains your weekly lab assignments. 2. When prompted, log off and log back on 3. When you log back on, the Bluetooth icon should appear in the lower right hand corner of the screen. Double-click this icon to run Initial Bluetooth Configuration Wizard. 4. When you reach Bluetooth Services make sure that Bluetooth Serial is checked. 5. Complete the configuration wizard and click cancel to exit setup when finished. Part 2 Download the application code 1. Create a folder for all of your course programs 2. Go to the course Angel folder for Lab 1. Download the Demo_App.zip file and save it to the Lab 1 files on your computer. 3. Unzip the folder into your Lab 1 files. The code for this executable is located at Demo_App\IRSonar_App\Demo_app.sln. This program contains code for all of the sensors and peripherals on the robot and will be used to illustrate the Traxster II s capabilities. Part 3 Connect to the Traxster II 1. Turn on the robot 2. Confirm that the power light is on for the Bluetooth Serializer V1.0 3. Right click the Bluetooth icon in the tray on the bottom right hand of the screen 4. Click Explore Explore My Bluetooth Places 5. Click Entire Bluetooth Neighborhood Lab1.doc C.A. Berry Page 2 of 8

6. Find eb100. If you are in the classroom full of robots there will be many of them! Each Bluetooth s receiver has a serial number and it should be on a label on the robot. 7. Right click properties on each eb100 until you find the one with your serial number (i.e. Device address: 00:0c:84:3f:e9). 8. On the Authorization tab check Bluetooth Serial Port 9. Click OK 10. Right click Pair on the icon (the pass code is 0000 ) 11. Double Click on the eb100 icon and it should display A# serial port on eb100 not connected 12. Double click the icon and it should now show that you are connected to the robot. 13. Right click on the icon and the General tab will show which COM port the Bluetooth Serial port for the robot is connected on. You will need this number for your code! 14. (Optional: If you use the Bluetooth Setup Wizard you can configure your device to show the name of your robot, i.e. Bart under My Bluetooth Places versus eb100 this will save you time in the future when you connect to your robot.) 15. My Bluetooth Places should now show eb100 <RobotName> Connected: COM# 16. The robot should now be connected and ready to use. Part 4 Robot Demo 1. Run the Demo_App\bin\Debug\Demo_App.exe application 2. Make sure that the COM PORT on the GUI is the same as the Bluetooth serial port where the robot is connected. 3. After confirmation of connection, experiment with the locomotion, odometry and sensors. (Make sure the robot is clear of tables and legs!!) Verify that the display is consistent with the robot performance, if you find any inconsistencies take note of them and get the technician in the parts room to correct it. Part 5 Reviewing the Code 1. Open the solution (IRSonar_App/Demo_App.sln) in Microsoft Visual Studio 2. Examine the code and comments in DemoForm.cs and try to get some idea of how the program works. The code and comment format for this program is the standard you Lab1.doc C.A. Berry Page 3 of 8

should follow for your submitted code. You should also add additional comments to assist you in understanding the program flow in Visual C#. 3. Expand 'References' in the Solution Explorer, and ensure that RoboticsConnection.Serializer is properly resolved. This means it is listed under References, and that it has a white box icon next to it. If it has a yellow icon, then it isn't resolved. To resolve it, try double clicking on the 'RoboticsConnection.Serializer' namespace. If that doesn't work, then simply right click on RoboticsConnection.Serializer ' namespace, then 'Remove'. Now, right click on 'References', and then select 'Add Reference'. An Add Reference window pops up. Make sure you're under the.net tab, then scroll down to 'SerializerLib', and select it. It should now be in the References section correctly 4. Build the solution (F7) 5. Run the application (F5) 6. If the following error prints on the Output window after you connect, disconnect from the robot and cycle the power and connect again. (A first chance exception of type 'System.TimeoutException' occurred in System.dll) 7. You know the robot is successfully connected when the IR data is changing on the GUI. 8. Confirm that the code works the same as the Demo_App.exe application. ****************************************************************************** LAB PROCEDURE ****************************************************************************** Part 1 Straight Line Now that we have code to control the robot, let's measure how well odometry performs. As you may recall from Part 1, the robot relies on odometry to determine how far it has traveled, and how far it has turned. If odometry readings are perfect, then the robot movement should be accurate and repeatable. 1. Select 4 different distances (6 in, 12 in, 18 in, 24 in) for the robot to drive and mark the start and stop positions with masking tape on the floor Lab1.doc C.A. Berry Page 4 of 8

2. Drive the robot for each distance 5 times generating 20 data points and record the data on a table. Perform an error analysis between each data point and the desired distance. Also, calculate the average distance traveled and state the shortest and longest distances. Also, state the standard deviation and create an x-y scatter plot of the data for inclusion in the lab memo. 3. Move the robot to the hallway and repeat part 2 and discuss the differences in the robot performance on a different surface. Does the odometry error change based upon the distance driven? What about if you change the robot speed, how does this affect the odometry error? Also find the standard deviation of the data and create an x-y scatter plot of the data for inclusion in the lab memo. (You don t have to take 20 data points just enough to adequately answer the questions). Part 2 Turn Angle 1. Select 4 different angles (90, 60, 30, and 15 ) for the robot to turn. 2. Turn the robot for each angle 5 times and repeat the data analysis from Part 1. 3. Does the error increase or decrease with rotation angle? What about if you change the robot speed, how does this affect odometry error? Part 3 Square Path Write a program to move the robot in a square path with sides between 2 and 3 feet (see Figure 1). Figure 1: Square Robot Motion 1. Place masking tape on the ground where the robot will start. 2. Run the Square program and place masking tape at each of the other three corners. Lab1.doc C.A. Berry Page 5 of 8

3. Move the robot back to the start point, run the square code, and place a marker where the robot turns and ends. 4. Repeat this 5 times and each time measure the distance between each pair of points (the correct corner and the actual) and compute an average. This is the average error. Part 4 More Paths 1. Write a Circle program to move the robot in a circle with a diameter between 2 and 3 feet (see Figure 2). 2. Write a FigureEight program to move the robot in a figure eight using two circles (see Figure 3). Figure 2: Circle Robot Motion Figure 3: Figure Eight Robot Motion More questions to answer in the lab memo 1. What are some sources of the odometry error? 2. How could you correct for this error? 3. How could you improve the three motions (Square, Circle, FigureEight) programs? Memo Guidelines: Please use the following checklist to insure that your memo meets the basic guidelines. Format o Begins with Date, To, From, Subject o Font no larger than 12 point font Lab1.doc C.A. Berry Page 6 of 8

o Spacing no larger than double space o Includes handwritten initials of both partners at the top of the memo next to the names o Written as a paragraph not bulleted list o No longer than three pages of text Writing o Memo is organized in a logical order o Writing is direct, concise and to the point o Written in first person from lab partners o Correct grammar, no spelling errors Content o Starts with a statement of purpose o Discusses the strategy or pseudocode for implementing the robot paths (may include a flow chart) o Discusses the tests and methods performed o States the results including error analysis o Shows data tables with error analysis and required plots or graphs o Answers all questions posed in the lab procedure o Clear statement of conclusions Grading Rubric: The lab is worth a total of 30 points and is graded by the following rubric. Points Demonstration Code Memo 10 Excellent work, the robot performs exactly as required 7.5 Performs most of the functionality with minor failures 5 Performs some of the functionality but with major failures or parts missing Properly commented, easy to follow with modular components Partial comments and/or not modular with objects No comments, not modular, not easy to follow Follows all guidelines and answers all questions posed Does not answer some questions and/or has spelling, grammatical, content errors Multiple grammatical, format, content, spelling errors, Lab1.doc C.A. Berry Page 7 of 8

questions not answered 0 Meets none of the design specifications or not submitted Not submitted Not submitted Submission Requirements: You must submit properly commented code for the square, circle and figure eight by midnight on Thursday. Your code should be modular with functions and classes in order to make it more readable. You should use buttons, labels, input boxes on the GUI, and/or the keypad to switch between programs, distances or angles. You should use the buzzer, speech module or LCD to indicate changes in state. You must also submit a memo for Lab 1 by midnight on Thursday. Lab1.doc C.A. Berry Page 8 of 8