SPL Programming – Procedure Pattern

Slides:



Advertisements
Similar presentations
$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
Advertisements

Subject: Information Technology Grade: 10
New Mexico Computer Science For All Local Variables in Netlogo Maureen Psaila-Dombrowski.
Computer Coding Learning a New Language. Coding/ Programming BrainPop- Parts of a Computer Khan Academy: What is Programming?
Promoting Code Reuse Often in programming, multiple procedures will perform the same operation IN OTHER WORDS – the same piece of code will do the same.
Using T-sql scripts. Migrating Sql Database to SQL Azure Database Create the Test Database In SQL Server Management Studio, on the File menu, point to.
$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
Shell Scripting Introduction. Agenda What is Shell Scripting? Why use Shell Scripting? Writing and Running a Shell Script Basic Commands -ECHO - REM.
What should I do first Young Joon Kim MSRDS First Beginner Course - STEP1.
HelloApps.com What should I do first Young Joon Kim MSRDS First Beginner Course - STEP1.
Chapter 9: MuPAD Programming II Procedures MATLAB for Scientist and Engineers Using Symbolic Toolbox.
Elegant avoiding of obstacle Young Joon Kim MSRDS First Beginner Course – STEP5.
VPL basic – data and variables Young Joon Kim MSRDS First Beginner Course – STEP6.
PATTERNS CLASS 4 By :Ms.K.Karthika Patterns are things that are arranged following a rule or rule Example: there is a pattern in these numbers: 2, 7,
BEGINNING PROGRAMMING.  Literally – giving instructions to a computer so that it does what you want  Practically – using a programming language (such.
Copyright © 2003 ProsoftTraining. All rights reserved. Perl Fundamentals.
The Robot and the Wall Introduction to Pseudocode Your Name Goes Here.
Teacher Education on Robotics-Enhanced Constructivist Pedagogical Methods - TERECoP Teacher Training Course : “LEGO NXT ROBOTICS: a CONSTRUCTIVIST APPROACH”
Presented by Lee Zenke 2015 Java Programming PT. 1.
First glance of robotics course (VPL) Young Joon Kim MSRDS First Beginner Course – STEP3.
Topics: Selection Statements. Processing Involving Selecting Instructions An instruction that allows deviation and selection to take place uses the ‘IF’
1 Lecture 10 Introduction to AWK COP 3344 Introduction to UNIX.
The If Statement There are no switch statements in Python. You need to use just if statements. There are no switch statements in Python. You need to use.
Extending MATLAB Write your own scripts and/or functions Scripts and functions are plain text files with extension.m (m-files) To execute commands contained.
My first robot programming - Simple “Go” Young Joon Kim MSRDS First Beginner Course – STEP4.
Formal Semantics of Programming Languages 虞慧群 Topic 2: Operational Semantics.
SPL basic – Build Simulation Environment Young Joon Kim SPL First Beginner Course – 03.
Control Structure  What is control Structure?  Types of Controls  Use the control structure in VBScript.  Example Summery.
EV3 Programming: Moving and Turning CONFIDENTIAL © 2014 Cymer, LLC.
Start Anaglyph Programming Young Joon Kim Stereoscopic & Anaglyph Course.
Jae Chung and Mark Claypool
Kodu Tinkering. Today we are learning about: Kodu & Tinkering ●I can explore Kodu for myself.
Module 1: Investigation 1 Moving, Turning and Stamping
LOGO 32 By: Xenon 9S.
Customizing the Quick Access Toolbar in Microsoft Office
Module 1: Investigation 4 Defining your own Pattern Blocks
Data Analysis Lab 03 Adding Control Variables to Crosstabs
What should I do first MSRDS First Beginner Course - STEP1
How to use generateTemplate
The C++ IF Statement Part 2 Copyright © Curt Hill
Writing functions in MATLAB
Basic Sensors – Laser Distance Sensor
Young Joon Kim SPL basic – Quick Start SPL First Beginner Course – 01 Young Joon Kim
Selection Statements.
Python 19 Mr. Husch.
VPL Patterns – Multi-Action Activity
Mean Absolute Deviation
My first robot programming - Simple “GoTo”
SPL GraphicSprite Command
Python Lesson’S 1 & 2 Mr. Kalmes.
VPL Patterns – Loop Pattern using Notification
Mean Absolute Deviation
Model Editing Mirror Copy Dimension Pattern Direction Pattern
Procedure for adding a Trusted Site
Young Joon Kim SPL basic – Quick Start SPL First Beginner Course – 01 Young Joon Kim
SPL Programming – While Loop Pattern
First glance of robotics course (SPL)
Loading… Please Wait $ $ $100 $100 $100 $100 $100 $200 $200 $200 $200 $300 $300 $300 $300 $300 $400 $400 $400 $400 $400 $500 $500 $500 $500 $500.
Selection Statements Chapter 3.
My first robot programming - Simple “Go”
Rocky K. C. Chang September 11, 2018
Pose Sensors – Detect Orientation
Python 19 Mr. Husch.
Basic 9 Mr. Husch.
Basic Sensors – RFID Sensor
My first robot programming - Simple “GoTo”
My first robot programming - Simple “GoFor”
SPL basic – Script types
Maker Education Manipulator
MATLAB Interface Programming
Presentation transcript:

SPL Programming – Procedure Pattern Simple Mission – Maze Explorer Young Joon Kim http://www.helloapps.com

Topics LRF Procedure Procedure Pattern for the Maze Explorer

LRF Procedure

LRF Procedure Start with basic maze environment

LRF Procedure Add “/Procedure_SensorNotify:” option under the “AddLaserRangeFinderEntity”

LRF Procedure Type “proc1”

LRF Procedure Add “Procedure”

LRF Procedure Add variables to keep distance values

LRF Procedure Add “print” command

LRF Procedure Save script as “script/Maze6.txt”

LRF Procedure Execute result

LRF Procedure Execute result

Procedure Pattern for the Maze Explorer

Procedure Pattern for the Maze Explorer Start with basic procedure pattern

Procedure Pattern for the Maze Explorer Add Boolean variable to keep the turning state

Procedure Pattern for the Maze Explorer Add “if” liines

Procedure Pattern for the Maze Explorer Add lines to make robot turn right 30 degrees

Procedure Pattern for the Maze Explorer Add “else” lines to turn right

Procedure Pattern for the Maze Explorer Completed script

Procedure Pattern for the Maze Explorer Save script as “script/Maze7.txt”

Procedure Pattern for the Maze Explorer Executed result

Procedure Pattern for the Maze Explorer Executed result

Procedure Pattern for the Maze Explorer Executed result