PowerPoint Presentation - C3I Systems 2 - Lecture 1 - PowerPoint PPT Presentation

1 / 16
About This Presentation
Title:

PowerPoint Presentation - C3I Systems 2 - Lecture 1

Description:

... operators Flow of control Built-in functions Strengths and ... operators Flow of control Built-in functions Strengths and limitations Lego ... – PowerPoint PPT presentation

Number of Views:46
Avg rating:3.0/5.0
Slides: 17
Provided by: Student
Category:

less

Transcript and Presenter's Notes

Title: PowerPoint Presentation - C3I Systems 2 - Lecture 1


1

Graphical Programming Languages Lecture 19
Supporting Material Dr Kathryn Merrick Thursday
21st May, 2009
2
(No Transcript)
3
Overview
  • Graphical programming languages
  • Variables, types, values, operators
  • Flow of control
  • Built-in functions
  • Strengths and limitations

4
Lego Mindstorms NXT Programmable Robots
Programmable Brick
5
The NXT Programming Environment
The programming window
6
Built-in Functions
Move functions connected up like Lego bricks
Input parameters set here
7
Loops
Instructions to be repeated will be dragged into
here
Loop connected up like a Lego brick
Exit condition (can behave like a for loop or a
while loop)
8
Selection
What to do will be dragged into here
Selection connected up like a Lego brick
Conditions set here
9
A Complete Program
10
Demo 1 Programming a Lego scorpion
11
Variables
Variable brick
12
Maths Operators
Maths operator brick
13
Boolean Operators
Boolean operator brick
14
Complete Program
15
Demo 2 Programming a Lego scorpion
16
Summary
  • After todays lecture you should be able to
  • Identify the key programming tools we used in
    MATLAB in the NXT graphical language
  • Appreciate the strengths and weaknesses of
    graphical languages
Write a Comment
User Comments (0)
About PowerShow.com