Chung for Robofest 05 1 Introduction to RoboLab CJ Chung Lawrence Technological University.

Slides:



Advertisements
Similar presentations
Robofest 2007 NXT Programming Workshop Jan
Advertisements

Numbers Treasure Hunt Following each question, click on the answer. If correct, the next page will load with a graphic first – these can be used to check.
Scenario: EOT/EOT-R/COT Resident admitted March 10th Admitted for PT and OT following knee replacement for patient with CHF, COPD, shortness of breath.
AKC Rally Signs These are copies of the 2008 AKC Rally signs, as re-drawn by Chuck Shultz. Use them to print your own signs. Be prepared to use a LOT of.
Angstrom Care 培苗社 Quadratic Equation II
AP STUDY SESSION 2.
1 WORKING WITH 2007 WORD Part 1 Developed October 2007 with lots of help from.
1
1chung Robofest 2007 Introduction to RoboLab Workshop Feb. 3, 2007 Maurice Tedder
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Intro to NXT Programming
1chung Robofest 2005 RCX code Workshop Jan 29, 2005 CJ Chung.
Robofest 2005 Introduction to Programming RIS 2.0 RCX Code.
Objectives: Generate and describe sequences. Vocabulary:
David Burdett May 11, 2004 Package Binding for WS CDL.
FIGURE 8.1 Process and controller.
1 RA I Sub-Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Casablanca, Morocco, 20 – 22 December 2005 Status of observing programmes in RA I.
Microsoft Access 2007 Advanced Level. © Cheltenham Courseware Pty. Ltd. Slide No 2 Forms Customisation.
Local Customization Chapter 2. Local Customization 2-2 Objectives Customization Considerations Types of Data Elements Location for Locally Defined Data.
Custom Services and Training Provider Details Chapter 4.
CALENDAR.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt BlendsDigraphsShort.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Wants.
Mike Scott University of Texas at Austin
1 Click here to End Presentation Software: Installation and Updates Internet Download CD release NACIS Updates.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Windows XP Project An Introduction to Microsoft Windows XP and Office 2003.
Photo Slideshow Instructions (delete before presenting or this page will show when slideshow loops) 1.Set PowerPoint to work in Outline. View/Normal click.
Break Time Remaining 10:00.
Turing Machines.
Table 12.1: Cash Flows to a Cash and Carry Trading Strategy.
ETS4 - What's new? - How to start? - Any questions?
PP Test Review Sections 6-1 to 6-6
Bright Futures Guidelines Priorities and Screening Tables
EIS Bridge Tool and Staging Tables September 1, 2009 Instructor: Way Poteat Slide: 1.
Bellwork Do the following problem on a ½ sheet of paper and turn in.
Exercise 1: Install PC Software & NXT Firmware
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Office 2003 Integration Integrating Office 2003 Applications and the World Wide Web.
Operating Systems Operating Systems - Winter 2012 Chapter 4 – Memory Management Vrije Universiteit Amsterdam.
Exarte Bezoek aan de Mediacampus Bachelor in de grafische en digitale media April 2014.
Sample Service Screenshots Enterprise Cloud Service 11.3.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
Adding Up In Chunks.
MaK_Full ahead loaded 1 Alarm Page Directory (F11)
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Synthetic.
Skills for Success with Microsoft® Office 2010
Subtraction: Adding UP
: 3 00.
5 minutes.
1 hi at no doifpi me be go we of at be do go hi if me no of pi we Inorder Traversal Inorder traversal. n Visit the left subtree. n Visit the node. n Visit.
Speak Up for Safety Dr. Susan Strauss Harassment & Bullying Consultant November 9, 2012.
Essential Cell Biology
Converting a Fraction to %
Clock will move after 1 minute
PSSA Preparation.
Essential Cell Biology
Immunobiology: The Immune System in Health & Disease Sixth Edition
Physics for Scientists & Engineers, 3rd Edition
Energy Generation in Mitochondria and Chlorplasts
Select a time to count down from the clock above
Murach’s OS/390 and z/OS JCLChapter 16, Slide 1 © 2002, Mike Murach & Associates, Inc.
Copyright Tim Morris/St Stephen's School
1.step PMIT start + initial project data input Concept Concept.
1 Decidability continued…. 2 Theorem: For a recursively enumerable language it is undecidable to determine whether is finite Proof: We will reduce the.
Presentation transcript:

Chung for Robofest 05 1 Introduction to RoboLab CJ Chung Lawrence Technological University

Chung for Robofest 05 2 What Is RoboLab? A Graphical programming language For the RCX based on LabVIEW In 1997, LabView was used for Sojourner project By designing a flow chart with given icons the programmer can program the RCX

Chung for Robofest 05 3 Pros to Using RoboLab Easy to see control structure Visual interface is simple Exactly like LabVIEW Data gathering and visualization (investigator)

Chung for Robofest 05 4 Cons to Using RoboLab Spaghetti code Hard to wire icons… No edge triggering supported. See Line Counter program in this slide

Chung for Robofest 05 5 For More Information Legos Page National Instruments Page Tufts University ages/eng/downloads/compare.doc

Chung for Robofest 05 6 Before Getting Started Programming RCX Firmware Download: Administrator

Chung for Robofest 05 7 Investigator for data gathering and visualization

Chung for Robofest 05 8 Getting Started Programmer | double click Inventor Level 4

Chung for Robofest 05 9 RoboLab Class Mission 1: To drive using a Timer Go straight for 2.5 seconds and stop

Chung for Robofest 05 10

Chung for Robofest Save the file!

Chung for Robofest 05 12

Chung for Robofest Just click Broken arrow

Chung for Robofest Modifiers

Chung for Robofest Context Help Just point an icon in question

Chung for Robofest To replace an icon Use right click and replace (for Macs, use the Apple key)

Chung for Robofest Windows| Show Tools Palette The space bar The tab key

Chung for Robofest Tips How to insert icons? How delete icons? Cover the tower and RCX when downloading, if more than one robot in a room! Use Meaningful file names Add Comments using A: edit text

Chung for Robofest RoboLab Mission 2: Bumper Car Goes straight and stops when the bumper is hit or Turn motors A and B; turn off motors A and B, when a touch sensor is pressed

Chung for Robofest 05 20

Chung for Robofest What is wrong?

Chung for Robofest RoboLab Mission 3: Board Edge Detection Robot must stop when it detects the edge of the white board Testing Light Sensors Use Black View Button to read data from the light sensor

Chung for Robofest Darker than 40 Brighter than 50

Chung for Robofest RoboLab Mission 4: Making Turns Go straight for 2.5 seconds and turn right 90 degrees and go straight for 2 seconds and stop Is it easy to make 90 degree turns? Mark the stop location and rerun Does it stop at the same point? Why not? How do we make our robots go straight? Very important for many missions

Chung for Robofest Tips: Making Right Turns stop Method 1: Left motorRight motor Method 2: Left motorRight motor

Chung for Robofest 05 26

Chung for Robofest Using a Rotation Sensor in RoboLab Finding a good pair of motors using RoboLab Use Black View Button to read data from the rotation sensor

Chung for Robofest 05 28

Chung for Robofest RoboLab Control Structures Sequence Loop: Decision: Fork Subroutines: Multitasking:

Chung for Robofest Loop with a counter

Chung for Robofest Loop while touch sensor is released

Chung for Robofest Mission 5: Detect Light and Beep When the light sensor detects a bright light source, beep Repeat until a touch sensor is pressed

Chung for Robofest A loop inside a loop?

Chung for Robofest Decision - Fork

Chung for Robofest Mission 6: Line Following (Zigzag method) Do forever until touch sensor is pressed: If it sees black, turn right If it sees white, turn left Which side of the line does this follow?

Chung for Robofest How to follow a line using one Light Sensor? - Zigzag methods

Chung for Robofest 05 37

Chung for Robofest Subroutine – a set of commands Create Subroutine No. n: Run subroutine n: nn

Chung for Robofest Subroutine Example

Chung for Robofest Mission 7: Line Following Until the edge of the board Do forever until light sensor detects the edge of the board: If it sees black, turn right If it sees white, turn left

Chung for Robofest RCX Communications - Send

Chung for Robofest RCX Communications - Receive

Chung for Robofest Containers to store values Loop while container value is less than…

Chung for Robofest Mission 8: Line Counter Go forward Count each line as the robot crosses it When the robot detects the 4th line, stop. Uses a Container to count number of lines

Chung for Robofest Line Counter Solution Using RoverBot Style Gearing Wait for Dark If no time to skip black line, a line can be counted more than once. Wait for Dark Cf. RCX code, Wait Until, provides Edge Triggering

Chung for Robofest Sensor Stacking Stack touch sensor on top of light sensor Both Sensors must be thought of as light sensors. Pressing the touch sensor will always read 100. When the touch sensor is not pressed the value for the light sensor will be read.

Chung for Robofest Mission 9: Line following until stacked touch sensor is pressed

Chung for Robofest Multitasking

Chung for Robofest How to upload to different program slots Select the slot number by pressing the gray Pgm button on the RCX Click the (run) button