To make a robot operate without constant human interaction, it must know what to do, when to do it, what order to follow, and perhaps even what to do if.

Slides:



Advertisements
Similar presentations
Introduction to Programming
Advertisements

Chapter 10- Instruction set architectures
Programming Languages Marjan Sirjani 2 2. Language Design Issues Design to Run efficiently : early languages Easy to write correctly : new languages.
Programming TBE 540 Farah Fisher. Objectives After viewing this presentation, the learner will be able to… Given a task, create pseudocode Given pseudocode,
Intro to Programming Algebra-Geometry. Computer Programming? What is programming? The process of writing, testing, and maintaining the source code of.
Introducing Programming a general discussion. What is a Program? Sets of instructions that get the computer to do something Programs may be a few lines.
CS001 Introduction to Programming Day 3 Sujana Jyothi
© Janice Regan, CMPT 102, Sept CMPT 102 Introduction to Scientific Computer Programming The software development method algorithms.
Snick  snack A Working Computer Slides based on work by Bob Woodham and others.
Lecture 1: Intro to Computers Yoni Fridman 6/28/01 6/28/01.
Program Flow Charting How to tackle the beginning stage a program design.
Chapter 16 Programming and Languages: Telling the Computer What to Do.
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ input/output and clock inputs Sequence of control signal combinations.
Guide To UNIX Using Linux Third Edition
Computer Literacy PowerPoint Dustin Llanes Comm. 165.
Software Development Unit 6.
9-Aug-15 Vocabulary. Programming Vocabulary Watch closely, you might even want to take some notes. There’s a short quiz at the end of this presentation!
Computers & Logic An Overview. Hardware Hardware is the equipment, or the devices, associated with a computer. For a computer to be useful, however, it.
What is RobotC?!?! Team 2425 Hydra. Overview What is RobotC What is RobotC used for What you need to program a robot How a robot program works Framework.
Introduction to Programming End Show. Resource Team R.P Ranjan-Lecturer, SPICTEC, Galle. W.M.A.S. Wijesekara-Centre manager,CRC Hali-Ela H.P.U.S Indra.
Copyright ©2005  Department of Computer & Information Science Introducing Programming.
School of Computing and Mathematics, University of Huddersfield Computing Science: WEEK 17 Announcement: next few weeks… 9 nd Feb: Comparative Programming.
Chapter 8 High-Level Programming Languages (modified by Erin Chambers)
IT253: Computer Organization Lecture 4: Instruction Set Architecture Tonga Institute of Higher Education.
Introduction to Programming ICS2O Findlay. Learning Goals  We will learn  The definitions of a computer, program and programming language.  The different.
Introduction to Programming Using C Introduction to Computer Programming.
Problem Solving Techniques. Compiler n Is a computer program whose purpose is to take a description of a desired program coded in a programming language.
Lecture 1 Introduction Figures from Lewis, “C# Software Solutions”, Addison Wesley Richard Gesick.
Robert Crawford, MBA West Middle School.  Explain how the binary system is used by computers.  Describe how software is written and translated  Summarize.
Chapter 7 LOOPING OPERATIONS: ITERATION. Chapter 7 The Flow of the while Loop.
Algorithm Design.
C o n f i d e n t i a l 1 Course: BCA Semester: III Subject Code : BC 0042 Subject Name: Operating Systems Unit number : 1 Unit Title: Overview of Operating.
Getting Started with MATLAB (part2) 1. Basic Data manipulation 2. Basic Data Understanding 1. The Binary System 2. The ASCII Table 3. Creating Good Variables.
Basic Systems and Software. Were we left off Computers are programmable (formal) machines. Digital information is stored as a series of two states (1.
CS 127 Introduction to Computer Science. What is a computer?  “A machine that stores and manipulates information under the control of a changeable program”
Structured Programming (4 Credits)
Intermediate 2 Computing Unit 2 - Software Development.
CRE Programming Club - Class 2 Robert Eckstein and Robert Heard.
My Mission Statement To ensure students leave the course with an intermediate knowledge of general programming skills they can transfer to other platforms.
Globaloria is a class where you will learn how to blog, work in flash, and make your very own computer game. It is challenging, but once you get it you.
Finite State Machines (FSM) OR Finite State Automation (FSA) - are models of the behaviors of a system or a complex object, with a limited number of defined.
The single most important skill for a computer programmer is problem solving Problem solving means the ability to formulate problems, think creatively.
1. an electronic device that manipulates information, or "data“
Flow Control in Imperative Languages. Activity 1 What does the word: ‘Imperative’ mean? 5mins …having CONTROL and ORDER!
PROGRAMMING. Computer Programs  A series of instructions to the computer  pre-written/packaged/off-the-shelf, or  custom made  There are 6 steps to.
12-Jun-16 Event loops. 2 Programming in prehistoric times Earliest programs were all “batch” processing There was no interaction with the user Input Output.
Introduction to Programming in C++ Seventh Edition Chapter 1: An Introduction to Programming.
SPiiPlus Training Class
Control Unit Lecture 6.
Event loops 16-Jun-18.
Learning to program with Logo
Creativity in Algorithms
Lesson 2 Programming constructs – Algorithms – Scratch – Variables Intro.
Language Basics.
Event loops.
Event loops 17-Jan-19.
Event loops 17-Jan-19.
Programming Language Basics
PROGRAMMING FUNDAMENTALS Lecture # 03. Programming Language A Programming language used to write computer programs. Its mean of communication between.
Event loops 8-Apr-19.
ICT Programming Lesson 1:
ICT Gaming Lesson 2.
Tonga Institute of Higher Education IT 141: Information Systems
Tonga Institute of Higher Education IT 141: Information Systems
Hour of Code Code.org/lightbot
1.3.7 High- and low-level languages and their translators
Event loops.
Event loops 19-Aug-19.
Presentation transcript:

To make a robot operate without constant human interaction, it must know what to do, when to do it, what order to follow, and perhaps even what to do if something is found to be different than what is expected.

Many robots are fixed station robots, operating like an arm. They need to know positions to move between. These are generally 3 axis Cartesian coordinates.

In addition to knowing their locations, robotic arms need to know in what order to move between them, and what functions to perform at each location once they arrive. All this information can be given to the robot through programming the micro- controller.

This may be done via a Teach Pendant, or through a computer keyboard. Positions, functions, and order of operation are compiled in an appropriate language the arm can understand. This is called programming.

Writing a program, whether it is for a computer game, computer application, or robot manipulation can be easy for some, and challenging for others. Different programs use different terms and processes, but all programming generally follows a prescribed set of rules.

Programs are written in various languages. Many are like mathematical equations, and some are constructed, and then compiled into a machine language the system can understand. In all cases, the flow of information and control is very logical in nature, following a step by step procedure.

1. Programs are written in numbered lines. 2. A system will do all instructions on line 1 before proceeding to line Lines are sequentially processed, unless a command like “if the sum of X + Y >45, jump to line 7.

Lines of code may contain comparators, such as “If A = B, then go to this line of code.” They may perform a function “go to position 37”. Once this is accomplished, then the program will go to the next line of code. There may even be a line of code that says, “Wait 10 seconds.”

Each line is sequentially performed till you get to the end of the program, when usually ends with the command “End”. Of course, there may be a counter which tells the system to loop through a routine (group of lines) indefinitely until some other signal is introduced.

Writing a program requires a little knowledge of the system, the programming language, and a lot of troubleshooting to resolve unwanted actions. Remember, a robotic or computer system is not really intelligent,….it only does what a human tells it to do.