Robotics Abstractions: Levels of language, world view

Slides:



Advertisements
Similar presentations
Dublin Robotics Boosters NXT-Step Programming Workshop.
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.
LabView Basics.
Robot Construction Basics Les Turner Director of Technology, Northern Indiana ESC Head Coach, Bremen Botz!
Mingo County Shewey Science Academy: NXT Training.
READY, GO! Hare and Snail Challenges. 1. What are some design considerations to make a fast robot? 2. What are some design considerations to make a slow.
Robotics Lego NXT Mindstorms.
EducateNXT NXT... an introduction The Kit and the Software.
1 ©2006 INSciTE Lab Two Task: Make the program from Lab One (Move forward 5 rotations and turn right 90 degrees) into a MyBlock.
The NXT is the brain of a MINDSTORMS® robot. It’s an intelligent, computer-controlled LEGO® brick that lets a MINDSTORMS robot come alive and perform.
LEGO Mindstorms NXT Programming We will be using the Common Palette for our Robots This is how you download your program onto the brick Drag and drop a.
Music by Touch. 1. Provide an example “stimulus-sensor- coordinator-effector-response” framework for both your (human) sense of touch and the robotic.
Robotics Abstractions: Levels of language, world view
Adapted for STLP Camp ‘10 STLP Robotics Camp June 3 & 4.
Robotics Actuators. Motors. Sensors. NXT-G logic. Lab: Measurements Homework: Task moodle assignment! Mechanics readings. Prepare summary. Postings. Next.
Robotics NXT sensors Back to Light sensor: red vs blue ball.
Introduction to Lego Mindstorms NXT
Adapted for STLP Camp ‘09 Mobile Robots Why do robots need to move?
Why do robots need to move?
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 3.
Wait Program! WAIT please!. 1. Why is it often better to use conditional commands rather than program a robot to move exact distances? 2. What is the.
Robotics Overview of NXT-G Actuators in Mindstorms. Touch sensor Labwork: Right turn. Touch/bump. [Explore move versus Motor Move mini & motor mini. Motor*.]
Minds and Computers 3.1 Preview Spin left motor Spin right motor Wait until the motors have spun two rotations Stop left motor Stop right motor What five.
Robotics Light sensor. Calibration. Reverse engineering challenge. Lab work: Create and show your program. Add light sensor (different orientations). Robot.
Robotics in the Classroom Using Lego Mindstorms. Getting to know Lego Mindstorms We all are familiar with Legos We need to add motors and a brain.
Sentry System Multiple Sensors
Conditions and loops Day 4 Computer Programming through Robotics CPST 410 Summer 2009.
Lego MindStorm An Introduction to Blocks. Blocks Blocks are used to give instructions to your robot. There are many types of blocks You can use the blocks.
Castor Bot. Now, we will begin creating a robot Log onto your computer On your screen, click on the website labeled “castor bot” Your building instructions.
Find the Mindstorms Icon on the computer.. To start a new program click go.
Robotics NXT-G: variables, file Rotation sensor Lab: Use buttons to hit specific ball. Homework: Postings. Start planning mapping the room.
LEGO® MINDSTORMS® NXT Move Block.
EV3 Software EV3 Robot Workshop
ROBOTC Software EV3 Robot Workshop
Deriving Consistency from LEGOs What we have learned in 6 years of FLL by Austin and Travis Schuh © 2005 Austin and Travis Schuh, all rights reserved.
Mechanical Components and Programming Ken Youssefi Introduction to Engineering – E10 1.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
ROBOTICS Jason Bell Brad Carlson
Unit 1 - Introduction to VEX Robotics
Lego Mindstorm Robots 9797 kit.  Students will learn how to identify how to detect a change in a condition.  Students will learn where and how to identify.
Mobile Robots Why do robots need to move?. What defines a robot? Sense – a robot has to take in information about its environment Plan – a robot has to.
Introduction to Robotics using Lego Mindstorms EV3 Shreya Reddy & Kiran Raja RoboAvatars Robotics.
Overview: This lesson explores the NXT as a computer. It is intended to follow the "Introduction to Computers" lesson. Objectives: Students will be able.
Adding the Cortex and Testing Lesson 03. OBJECTIVES FOR TODAY By the end of this lesson you will be able to: Complete construction of the VEX Clawbot.
LOGICFUSION’S HANDS-ON ROBOTICS EV3 LEVEL 2! Welcome to.
How Do You Make a Program Wait?
Robotics Abstractions: Levels of language, world view
LEGO Robotics Workshop
2.8 NXT Test Programs (Try Me Mode) U2C8
NXT Mindstorms Kit Programming
VEX IQ Curriculum Smart Machines Lesson 09 Lesson Materials:
Exploring Computer Science Lesson 6-5
Line-Follower Challenge
Deriving Consistency from LEGOs
Java on the LEGO Mindstorms EV3
Understanding Communication with a Robot? Activity (60 minutes)
This is the Lego NXT ->
Introductory Presentation
Music by Touch Music by Touch Presentation > TeachEngineering.org
Lab: (Finish parking). Bluetooth applications
Robot Programming Computer Literacy S2.
Exploring Computer Science Lesson 6-5
Forward Until Touch Robot goes forward until it hits a wall.
What is a Robot?.
Introduction to programming consistent results
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Getting started with LEGO EV3 Mindstorms software
Lab: Parking Preparation for Bluetooth.
Downloading to the NXT requires the correct hardware setup
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

Robotics Abstractions: Levels of language, world view Introduction to Lego Mindstorms Build basic robot Write & download program Homework: postings

Levels of language Distinguish between task: what you want to do procedure: how you/your program directs robot to do it Even procedure level distinguishes between moving robot joints to get to an endpoint vs moving robot joints

World view What does the robot (you?) know about the work area? What are assumptions / constraints? Related to: how robust is it necessary to make the program / strategy

Levels of language: Task level [Unconstrained]: block A somewhere on table, block B somewhere on table PUT BLOCK A ON BLOCK B [More constrained]: block A a specific place on the table, block B a specific place

Levels of language: Procedure [Unconstrained]: block A somewhere on table, block B somewhere on table LOCATE BLOCK A LOCATE BLOCK B PICK UP BLOCK A MOVE BLOCK A OVER TO CALCULATED POSITION ABOVE B MOVE BLOCK A TO CALCULATED POSITION ON B [More constrained]: block A a specific place on the table, block B a specific place MOVE BLOCK A OVER TO ABOVE BLOCK B MOVE BLOCK A DOWN UNTIL CONTACT

Levels of Language: joints, sensors, etc. [Unconstrained]: block A somewhere on table, block B somewhere on table Invoke vision system to locate block A and block B OR invoke search program …. Calculate joint positions for path to get to block A Calculate gripping position Set joints so as to move block A over to calculated position above B Set joints so as to move/lower block A…possibly do move until touch [More constrained]: block A a specific place on the table, block B a specific place

Language, world view My choices of levels of language (task, procedure, robot joints) not the only ones Can pose higher levels and lower levels! These are general concepts to keep in mind. Will return to it.

Assembly is …. Challenging Concept of ‘preserving orientation’ Locating parts Calculating trajectories Allowing for variability … Concept of ‘preserving orientation’

Exercise[s] Pick task and describe in task terms and in procedural terms (Shoe tying) Opening/unwrapping gift Put on coat Sharpening a pencil using automatic or manual pencil sharpener Cooking scrambled eggs Building the basic Mindstorms robot! ANSWER this on moodle!!!!

Lego parts Electronic Structural Connectors Gears Miscellaneous the Brick, motors, sensors, cables Structural beams, other Connectors some friction, some smooth Gears transfer and/or change torque Miscellaneous tires, Lego people, other

NXT-G Level of language is low. Note: considerable computation at motors and sensors You/your NXT-G program direct tribot actions directly: procedure, not task. Preview: Task: hit the red ball You will program: Procedure: move forward using certain motors until certain sensor indicates time to stop check light level to determine which ball if red ball, move arm motor to swing

Lego Mindstorm NXT Create program using drag-and-drop of “blocks” Iconic form of programming Each icon/block has its own set of settings (parameters) and (possibly) data links to be set Add comments. File/Save As (…save) Then download program to NXT brick Compile and download. Any syntactic errors will be caught. Missing data link Failure if lack of space on the NXT brick Will need to be conscious of space

Move block: initial setting Motors B & C 75% power 1 Rotation Brake after 1 rotation (not coast)

Important fact… You (the builder of the robot) must make sure that motor B and motor C do what you want. This depends on Where/how you build What port External conditions The program doesn’t know anything. It just sends a signal to a port.

Direction now set to curve Power at 25% 5 seconds Coast after 5 seconds

How… Do you get robot to travel specific distance? Use trial-and-error to set time or rotations Use feedback: keep computer connected to NXT and monitor rotations Next class!

Data links: input & output Feedback information

Sound block built-in sounds + capability for individual tones & sound files WARNING: sound files are big.

Build Basic robot NXT brick serves as main chassis Carried around by wheels operated by 2 motors Attached to appropriate ports Will add Grabber Sensors More programs

Today’s challenge Build basic robot Program to Go forward, Say “Have a nice day” , Turn around in a curve Go back

Program has been saved on computer File/Save Used comment writer to document action Program consists of Move block Sound block Move block (turning)

Comment Blocks may Do something Start something Make sound and wait for completion versus… Turn motors for X rotations/degrees/seconds Start something Start sound Turn motors on unlimited (will do this next class) Actually, mostly blocks: Try to do something Motors try to turn in rough terrain….

Go! Use directions in the kit. DON’T MIX PARTS. DON’T LOSE PARTS. Page 8 to 22 which is Steps 1 to 17 NOTE: step 14: putting in batteries has already been done These kits use Lithium battery, which needs to be charged up. Turn on and try demo program Write program and download DON’T MIX PARTS. Be careful: especially with small pieces DON’T LOSE PARTS. Need to be careful that cables are not in the way! Make haste slowly.

Team work For this activity: everyone should be aware of all details. Take turns. Don’t assume you can’t do anything. For bigger projects, there may be specialists.