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 9-2 - Getting Started.

Slides:



Advertisements
Similar presentations
Basic Computer Skills Windows & the Internet.
Advertisements

Intro to Computers!.
There are many types of computers including:
Operating Systems. Operating System (OS) The software that manages the sharing of the resources of a computer. Examples of Operating Systems ◦ Windows.
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.
Team 5220 Roboknights. Outline  Getting Started  Hardware Setup/Wiring  Software Setup/Pragmas  Programming with RobotC  Grammar/Syntax  Basic Statements.
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.
XP Exploring the Basics of Microsoft Windows XP1 Exploring the Basics of Windows XP.
Vex 1.0 © 2005 Carnegie Mellon Robotics Academy Inc. Programming in easyC.
Alice Variables Pepper. Set to Java look Edit / preferences restart.
CS 1 with Robots IDLE and Myro Institute for Personal Robots in Education (IPRE)‏
Intro to Robots Lab 2. Intro to Robots Defining Functions: Define a function and watch its behaviour A useful function is wait(SECONDS) that causes the.
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.
Alice: A Free 3D Animation World for Teaching Programming Barbara Ericson Georgia Institute of Technology Oct 2005.
CPSC 203 Introduction to Computers Lab 21, 22 by Jie (Jeff) Gao Location: ES650.
Learning to Program with Python Sec 9-1 Web Design.
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.
Introduction to Computers I A presentation of the Elmhurst Public Library.
Why Program? Computer – programmable machine designed to follow instructions Program – instructions in computer memory to make it do something Programmer.
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
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.
CS413: Java Programming language Applications Applets
Lab 4- Intro to using Wii remotes Southern Methodist University Bryan Rodriguez.
Introduction to Scratch!
Image Processing & Perception Sec 9-11 Web Design.
Scribbler Movements Sec 9-3 Web Design. Objectives The student will: Understand the basic movement commands for the Scribbler Know how to create and execute.
Weston Schreiber & Joshua Gabrielse Robotics Summer Training Programming #1: EasyC Basics.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
1 Direct Manipulation Proposal 17 Direct Manipulation is when physical actions are used instead of commands. E.g. In a word document when the user inputs.
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.
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.
Find the Mindstorms Icon on the computer.. To start a new program click go.
Review for test! Alice Chapter 1&2 Test is tomorrow! - March 26 th March 25th.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 4: Events Programming with Alice and Java First Edition by John Lewis.
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.
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.
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.
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!
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.
Lego League. What is the Lego League? What we will be doing for the next few weeks The AIM of the next few weeks is to gain knowledge into programming,
Troubleshooting Dashhawk Issues. Here's what you have to do to have the DashHawk run properly Go to the ACTUAL PROGRAM file (not the short cut)
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
Windows Vista Configuration MCTS : Internet Explorer 7.0.
Presenter: Suzy Belonga BTOP/EUPISD Instructional TechnologistWelcome!
Chapter 2 – Introduction to Windows Operating System II Manipulating Windows GUI 1CMPF112 Computing Skills for Engineers.
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.
Fulton County Public Library
What you asked me to teach…
Learning to Program with Python
Getting Started Sec 9-2 Web Design.
Fulton County Public Library
CIS16 Application Development Programming with Visual Basic
Working with Files.
Hardware is… Software is…
Presentation transcript:

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 How to start a python program Python commands How to get the robot to move forward How to get the robot to move backward How to stop How to control the speed Sec Scribbler movements Methods - code and call Functions – code and call Sec Simple Functions (names) Parameters Sec Functions with Parameters and Return Values Sec Creating and Using Modules Loop – While and Loop How to restart if you get lost Sec Simple Python Loops Sec Variables What you asked me to teach…

How to take a picture Sec Taking Pictures Conditionals How to avoid obstacles Sec Making Decisions in Python How to identify the color How to tell it to find something How to use the camera as a guide How to analyze the picture Sec Image Processing and Perception 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. Right mouse button on the zip file and Open with Windows Explorer. Extract the file to your My Python folder (Extract all files at the top of the explorer page).

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!