1- How to connect the robot to the pc Sec 9-2 - Getting Started 3- How to move the robot Sec 9-3 - Scribbler movements 4- How to make a turn 11- How to.

Slides:



Advertisements
Similar presentations
There are many types of computers including:
Advertisements

Basic Computer for Small Business
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.
Final Project Web Design. Final Project Your robot will be placed in a room with the red cone. Your robot will need to find the cone in the room and run.
Lesson One: The Beginning Chapter 2: Processing Learning Processing Daniel Shiffman Presentation by Donald W. Smith Graphics from built-in help reference.
Chapter 1. What is computer fluency? The knowledge possessed by people who are able to navigate the digital world successfully NOT THIS.
CS 1 with Robots IDLE and Myro Institute for Personal Robots in Education (IPRE)‏
1 Python Programming: An Introduction to Computer Science Chapter 3 Objects and Graphics.
Understanding the Mainline Logical Flow Through a Program (continued)
Intro to Robots Into to Robots: Lab #1. Intro to Robots The Robot. Your robot should look like this: Scribbler: Your robot. You can download programs.
1 Flash Programming Introduction Script Assist. 2 Course Description This course concentrates on the teaching of Actionscript, the programming language.
CPSC 203 Introduction to Computers Lab 21, 22 by Jie (Jeff) Gao Location: ES650.
Systems Software Operating Systems.
Learning to Program with Python Sec 9-1 Web Design.
How to turn on the robot How to start Bluetooth How to connect to robot How to initialize the robot How to not break the robot Sec Getting Started.
There are many types of computers including:
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Simple Python Loops Sec 9-7 Web Design.
Why Program? Computer – programmable machine designed to follow instructions Program – instructions in computer memory to make it do something Programmer.
Web Design. How to set up the robot How to link to robot How not to break my robot Sec Getting Started How to make it move How to control speed.
An Introduction to Textual Programming
CS413: Java Programming language Applications Applets
What is Computer Software? Hardware vs Software Got to have both to get the job done!
SAS Workshop Lecture 1 Lecturer: Annie N. Simpson, MSc.
Lab 4- Intro to using Wii remotes Southern Methodist University Bryan Rodriguez.
Image Processing & Perception Sec 9-11 Web Design.
Weston Schreiber & Joshua Gabrielse Robotics Summer Training Programming #1: EasyC Basics.
Computer basics Lesson 4 – Programs & S.O..
What is Computer Software?. Hardware vs Software Got to have both to get the job done!
What is Computer Software?. Hardware vs Software Got to have both to get the job done!
Getting Started Sec 9-2 Web Design. Objectives The student will: Know to establish a Bluetooth link to the Scribbler robot. Know to start IDLE (the Python.
Enhancing Your Web Site—Adding Links Web Page **YOU MUST HAVE COMPLETED THE 1ST 3 WEB PAGES BEFORE YOU CAN DO THIS ONE. **YOU SHOULD HAVE COMPLETED THE.
Review Everything you need to know for the 1 st Quarter Test.
CIS 103 — Applied Computer Technology Last Edited: September 17, 2010 by C.Herbert Connecting USB Devices to Personal Computers.
Lab 2: TCP /IP communication Southern Methodist University Bryan Rodriguez.
How to link the robot and the computer (Bluetooth) How to turn on and off How to connect the adaptor Fluke card connection Sec Getting Started How.
Making Python Pretty!. How to Use This Presentation… Download a copy of this presentation to your ‘Computing’ folder. Follow the code examples, and put.
11/25/2015Slide 1 Scripts are short programs that repeat sequences of SPSS commands. SPSS includes a computer language called Sax Basic for the creation.
Let’s Take Some Notes While you are waiting for me to get attendance taken, place Notebook Paper and Pencil On your desk.
Find the Mindstorms Icon on the computer.. To start a new program click go.
Choose Your Own Adventure! Using Web Poster Wizard for Content.
Software Development. Software Development Loop Design  Programmers need a solid foundation before they start coding anything  Understand the task.
Computer Components: Software Computer Technology.
Introduction Today Overview of office schedule. Term 2 Overview No more computer theory Using MS Office in detail –Word processing –Excel Spreadsheets.
Python Let’s get started!.
Operating Systems. An operating system (os) is a software program that enables the computer hardware to communicate and operate with the computer software.
Main Computer Components
Know your computer Make a Folder Copy from Word to Composer Format the Font Change the Alignment Format the Background Format the Colors Insert a Picture.
PROGRAMMING IN PYTHON LETS LEARN SOME CODE TOGETHER!
SWBAT explain operating systems and how they influence their daily life. What type of computer do you use? Why?
Python Lesson 1 1. Starter Create the following Excel spreadsheet and complete the calculations using formulae: 2 Add A1 and B1 A2 minus B2 A3 times B3.
What is Computer Software?. Hardware vs Software Got to have both to get the job done!
First Meeting. Meeting Guidance  Respect the teachers and volunteers.  Respect other students and share equally.  Be kind to the laptops and the robots!
Creating and Using Modules Sec 9-6 Web Design. Objectives The student will: Know how to create and save a module in Python Know how to include your modules.
ICT/COMPUTING RULES Only use software allowed by the teacher
OST Intro in to Macs. History of Macintosh On January 24, 1984 Apple Computer introduced the Apple Macintosh personal computer, with the Macintosh.
Learning to Program with Python Sec 9-1 Web Design.
Java Programming, 3e Concepts and Techniques Chapter 1 Section 56 – An Introduction to Java.
Windows Vista Configuration MCTS : Internet Explorer 7.0.
Web Design. How to link the robot How to turn on the robot Sec Getting Started What is python Programming in python How to move the robot How to.
What you asked me to teach…
Learning to Program with Python
Getting Started Sec 9-2 Web Design.
There are many types of computers including:
There are many types of computers including:
CIS16 Application Development Programming with Visual Basic
There are many types of computers including:
There are many types of computers including:
There are many types of computers including:
Hardware is… Software is…
Presentation transcript:

1- How to connect the robot to the pc Sec Getting Started 3- How to move the robot Sec Scribbler movements 4- How to make a turn 11- How to control the speed 6- How to stop 5- How to program the robot to move Sec Simple Functions (names) 10- How to put the pieces together Sec Functions with Parameters and Return Values Sec Creating and Using Modules 7- How to know how far to know Sec Simple Python Loops Sec Variables 9- How to take a picture Sec Taking Pictures 2- How to “See” an object – analyze a picture Sec Making Decisions in Python 8- How can you tell a color 13- What part of the picture is the object in… Sec Image Processing and Perception 12- How to identify the right object.. What you asked me to teach…

Getting Started Sec 9-2 Web Design

Objectives The student will: Know to establish a bluetooth link to the Scribbler robot. Know to start IDLE (the Python GUI) Know how to initialize the robot and issue basic commands

Bluetooth You have been provided with an Azio bluetooth dongle – It is your responsibly to make sure that the adaptor is put away with the robot at the end of class. I do not have any spare adaptors. If you lose yours you will be at the mercy of the other teams to share theirs.

Connecting to the robot 1.Insert the adaptor into the PC 2.Turn on your robot 3.On the front of the Fluke card note the number under the bar code. 4.In the task bar click on Bluetooth manager: 5.Click on: 6.Select “Express mode” and click Next 7.Find your Fluke and click Next

Connecting to the robot 7.The Adaptor should connect to the robot. – Note the com port assigned to the connection You are now connected to your robot.

IDLE Python GUI A graphical user interface (GUI) is a human- computer interface (i.e., a way for humans to interact with computers) that uses windows, icons and menus and which can be manipulated by a mouse (and often to a limited extent by a keyboard as well). IDLE is a GUI but uses the keyboard for input.

Getting ready for Python In your My Documents folder… 1.Create a folder called “My Python” 2.From the Hancock website on the Web Design page download the “start python.zip” file. 3. Double click on the zip file. Extract the file to your My Python folder.

IDLE Double click on start python in the My Python folder.

Python From python.org “Python is a remarkably powerful dynamic programming language that is used in a wide variety of application domains.” Python is a programming language – It has a specific syntax Punctuation, indentation, etc. – It has rules Upper and lower case letters are different

Python Alice had a language, but you didn’t need to type it… Method/ Function Parameter Comment Statement/ Command

Python You type the code Many of the constructs are very similar Method/ Function Parameter Comment Statement/ Command

Software Libraries Software libraries are predetermined functions that are provided to the programmer. For scribbler will be my using the myro library. (Myro is short for “my robot”) Most programming languages have a way of including a library. In Python you type: from myro import * – The * means “import everything from the library”

Establishing a software link to the robot Now that you have the “myro” functions available, you can establish a software link to your robot. Python functions are called by typing: function(parameters) The function to link to the robot is: initialize(“comX”) – comX is the com port that was listed when the Bluetooth connected to the robot. If you don’t remember the com port, go back to the Bluetooth Manager and click on details.

Establishing a software link to the robot If correct your robot should play a tune and report back it’s name.

Test your robot Now that you have a link to your robot you can test the link. – Put you robot on the floor (if you break your robot, it will be hard to finish the class) – Type joyStick() Note that joystick() is not the same as joyStick() Capital letters matter! – Drive your robot around. Note that the front of your robot is the part where the Fluke card is!

Rest of today… Form your group – 3 people to a group – Pick a robot. This will be you team’s robot for the remainder of the year. Test your robot. Also try issuing the commands: beep(1, 880) move(1, 1) Read Chapter 1 in the book. – You must read!! – Do not change the name of your robot!