My first robot programming - Simple “Go” Young Joon Kim MSRDS First Beginner Course – STEP4.

Slides:



Advertisements
Similar presentations
1 Application Software Course Simulink By: Mahdi Akbari 2010.
Advertisements

Paragraph Formatting Lesson 4.
Mapping Drives Client to Server Lecture 11. Mapping Network Drives Prepare the Server On the Server Create the virtual drives This is done from Administrators.
Efficient Path Determining Robot RIT Computer Engineering Senior Design Project Jamie Greenberg Jason Torre October 26, 2004 A motorized robot will navigate.
Introduction to LabVIEW Seth Price Department of Chemical Engineering New Mexico Tech Rev. 10/5/14.
LEGO Mindstorms NXT Programming We will be using the Common Palette for our Robots This is how you download your program onto the brick Drag and drop a.
. © 2003 Ownership Associates < Go back Advance > OA INC Using E-Learning Tools From Ownership Associates, Inc.
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.
Teacher/Mentor Institute Using easyC Joel Kirkland July 30-31, 2015.
DMU: Kinematics Workbench By: Michael Johnson Kyle Pflueger Paul Sowiniski.
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.
10/10/ Controlling YOUR ROBOT. 10/10/2015 Basic Stamp  Basic Stamp Input - output pins Interpreter Chip Power supply: 5 Volts voltage Memory: EEPROM.
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.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Robotics Tutorial Controlling a Robot with MSRS
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.
Find the Mindstorms Icon on the computer.. To start a new program click go.
LEGO® MINDSTORMS® NXT Move Block.
First glance of robotics course (VPL) Young Joon Kim MSRDS First Beginner Course – STEP3.
By Droids Robotics INTERMEDIATE PROGRAMMIN G LESSON DATA WIRES.
Using MIT Scratch for Programming and Control Exercise 1 Creating movement Year 11 DTG 2012.
4) Design the logic to control the motor on a simple remote control car. There are two buttons on the remote control for the motor. If neither button is.
SPL basic – Build Simulation Environment Young Joon Kim SPL First Beginner Course – 03.
Vex Robotics Program Two: Using two motors. Program two: using the motors In the last section, you learned how to turn on one motor. Now, you will take.
Vex Robotics program three: using motors and sensors together.
Istituto Tecnico Industriale A.Monaco EURLAB Moving a robot simple example program to control a DC-Motor Next - Press the button (left)
Lego Mindstorm Robots 9797 kit.  Students will learn how to identify how to detect a change in a condition.  Students will learn where and how to identify.
Start Anaglyph Programming Young Joon Kim Stereoscopic & Anaglyph Course.
Sequencing Learning Objective: to be able to design algorithms that use sequencing.
simple example program to control a DC-Motor
VAB™ for INFINITY Tutorial
Microsoft Windows XP Inside Out Second Edition
Learning Objective: to be able to design programs that use sequencing.
What should I do first MSRDS First Beginner Course - STEP1
INTERMEDIATE PROGRAMMING Lesson
INTERMEDIATE PROGRAMMING LESSON
Lego Robotics Small Builds.
INTERMEDIATE PROGRAMMING LESSON
Sequencing Learning Objective: to be able to design algorithms that use sequencing.
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
Controlling YOUR ROBOT
INTERMEDIATE PROGRAMMING LESSON
Lego Robotics Small Builds.
Lesson 3 Sub-Routines.
INTERMEDIATE PROGRAMMING LESSON
Basic Sensors – Laser Distance Sensor
Young Joon Kim SPL basic – Quick Start SPL First Beginner Course – 01 Young Joon Kim
Which way does the robot have to turn to get to the charger?
VPL Patterns – Multi-Action Activity
My first robot programming - Simple “GoTo”
Fundamentals of Using Microsoft Windows XP
SPL GraphicSprite Command
INTERMEDIATE PROGRAMMING LESSON
VPL Patterns – Loop Pattern using Notification
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)
Advanced Programming Lesson: Parallel Beams
My first robot programming - Simple “Go”
SPL Programming – Procedure Pattern
Pose Sensors – Detect Orientation
Basic Sensors – RFID Sensor
My first robot programming - Simple “GoTo”
My first robot programming - Simple “GoFor”
SPL basic – Script types
MATLAB Interface Programming
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

My first robot programming - Simple “Go” Young Joon Kim MSRDS First Beginner Course – STEP4

2 Topics Preparing basic environment Simple “Go” drive “Go Forwards” drive “Go Backwards” drive Stopping a robot Going around Turning round

3 “Go” Drive Commands

4 Go –Drive a robot with motor power –Motor power is set with given value and keeps its value Usages –robotname.Go() //default power is 0.2 –robotname.Go(power) –robotname.Go(left_power, right_power) Range of motor power values –-1.0 (Max backwards) ~ 1.0 (Max forwards) –0: Stop the motor

5 “Go” Drive Commands Go forwards –Use the value above 0 –Ex) robotname.Go() robotname.Go(0.3) robotname.Go(0.2, 0.2) Go backwards –Use the negative value –Ex) robotname.Go(-0.3) robotname.Go(-0.2, -0.2)

6 “Go” Drive Commands Stopping a robot –Use the value 0 –Ex) robotname.Go(0) robotname.Go(0, 0) robotname.Stop()

7 Preparing basic environment

8 Launch VPL and add an new “Data” activity

9 Preparing basic environment Type “Script/BasicEnv0.txt” with “string” type

10 Preparing basic environment Add “SPL Engine” service

11 Preparing basic environment Connect “Data” activity to “SPL Engine” service

12 Preparing basic environment Select “ExecuteScriptFile” on the right list 1 2

13 Preparing basic environment Select “value” item on the left list 1 2

14 Preparing basic environment Run VPL diagram by pressing “F5” key or clicking “Start” icon

15 Preparing basic environment Execution result

16 Simple “Go” drive

17 Simple “Go” drive Add a new “Data” activity and change its type as “string” 1 2

18 Simple “Go” drive Type “myrobot.Go()” in the new “Data” activity

19 Simple “Go” drive Add an new “SPL Drive” service

20 Connect the output point of “Data” activity to the input point of “SPL Drive” service by dragging Simple “Go” drive

21 Select “value” item on the left list Simple “Go” drive 1 2

22 Simple “Go” drive Run VPL diagram by pressing “F5” key or clicking “Start” icon

23 Simple “Go” drive Execution result

24 “Go Forwards” drive

25 “Go Forwards” drive Change drive command as follows –myrobot.Go() -> myrobot.Go(0.5) –Left and right power will be set with 0.5

26 “Go Forwards” drive Run VPL diagram by pressing “F5” key or clicking “Start” icon

27 Execution result “Go Forwards” drive

28 “Go Backwards” drive

29 “Go Backwards” drive Change drive command as follows –myrobot.Go(0.5) -> myrobot.Go(-0.1) –Left and right power will be set with -0.1

30 “Go Backwards” drive Run VPL diagram by pressing “F5” key or clicking “Start” icon

31 Execution result “Go Backwards” drive

32 Stopping a robot

33 Stopping a robot Add an new “HelloApps (Util) Button Dialog” service

34 Stopping a robot Add below diagram to make a robot stop 1 2

35 Stopping a robot Connect notification point of “Button Dialog” to the input point of “Data” activity Input point Output point Notification point

36 Stopping a robot Connect notification point of “Button Dialog” to the input point of “Data” activity

37 Stopping a robot Select “NotifyButtonClicked” item on the left list

38 Stopping a robot Run VPL diagram by pressing “F5” key or clicking “Start” icon

39 Execution result Stopping a robot Go backwards Click Stop

40 Going around

41 Going around Reopen “Going Forwards” diagram sample

42 Going around Change drive command as follows –myrobot.Go(0.5) -> myrobot.Go(0.2, 0.4) –Left and right power will be set with 0.2 and 0.4

43 Going around Run VPL diagram by pressing “F5” key or clicking “Start” icon

44 Execution result Going around

45 Turning round

46 Turning round Change drive command as follows –myrobot.Go(0.2, 0.4) -> myrobot.Go(0.2, -0.2) –Left and right power will be set with 0.2 and -0.2

47 Turning round Run VPL diagram by pressing “F5” key or clicking “Start” icon

48 Execution result Turning round