Stanley – RC Car.

Slides:



Advertisements
Similar presentations
Computer Hardware.
Advertisements

COMPUTER CONCEPTS Computer Information Systems. COURSE COMPETENCIES Explain the functions of computer system components. Describe the information processing.
Spectrophotometer Jan 28, 2002 Deryck Hong Suryadi Gunawan.
The Alix.1c microcontroller on board the vehicle runs Fluxbuntu Linux and is connected to a g wireless card and a USB web camera. A background process.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Autonomous Vehicle: Navigation by a Line Created By: Noam Brown and Amir Meiri Mentor: Johanan Erez and Ronel Veksler Location: Mayer Building (Electrical.
Virtual Target Practice Marc Jabbour - Mike Swanson – Joe Tucci –
BRETT GIPSON PRESENTS CHAPTER 5. DESCRIBE INPUT Input devices translate words, sounds, images and actions that people understand into symbols that the.
Your Interactive Guide to the Digital World Discovering Computers 2012.
Conference Room Laser Pointer System Final Design Report Anna Goncharova Brent Hoover Alex Mendes.
Introduction ‘Have you ever played video games before? Look at the joystick movement. When you move the joystick to the left, the plane on the TV screen.
Team #9: Video Recording Tool for Car Infotainment and Navigation Systems Members: Shengzhe Gao, Radhika Somayya, Xinye Ji, Kun Zhang, Yan Gong, Jianying.
 At the end of this class, students are able to  Describe definition of input devices clearly  List out the examples of input devices  Describe.
Kalman Tracking for Image Processing Applications Student : Julius Oyeleke Supervisor : Dr Martin Glavin Co-Supervisor : Dr Fearghal Morgan.
Name: Rafael Eduardo Barrios navas
The Vision of a Leader Rapid Eye Plus Technical Training.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Chapter Introduction to Computers and Programming 1.
Introduction to Programming Dr Masitah Ghazali Programming Techniques I SCJ1013.
Lab 2: Capturing and Displaying Digital Image
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
A computer is simply a machine that is programmed to follow instructions. Computers of today can: Calculate finances Make animated films Order airline.
Topics Introduction Hardware and Software How Computers Store Data
Capture your favorite image Done by: ms.Hanan Albarigi.
Ch Review1 Review Chapter Microcomputer Systems Hardware, Software, and the Operating System.
Autonomous Tracking Robot Andy Duong Chris Gurley Nate Klein Wink Barnes Georgia Institute of Technology School of Electrical and Computer Engineering.
1.Obtain laser pointer coordinates 2.Send laser pointer coordinates to the laptop through the standard PS/2 mouse port 3.Pixel Mapping 4.Attach a button.
Ruslan Masinjila Aida Militaru.  Nature of the Problem  Our Solution: The Roaming Security Robot  Functionalities  General System View  System Design.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming 1.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Chapter 1: Introduction to Computers and Programming.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
Computer Engineering Remote Controlled Car Project ACSE 2006 Graham Smyth Jerry Dolata.
Presentation by: K.G.P.Srikanth. CONTENTS  Introduction  Components  Working  Applications.
Interrupts and DMA CSCI The Role of the Operating System in Performing I/O Two main jobs of a computer are: –Processing –Performing I/O manage and.
CHAPTER FOUR COMPUTER SOFTWARE.
Introduction to Interactive Media Interactive Media Tools: Software.
Autonomous Robot Project Lauren Mitchell Ashley Francis.
Submitted by:- Vinay kr. Gupta Computer Sci. & Engg. 4 th year.
© Paradigm Publishing Inc. 2-1 Chapter 2 Input and Processing.
Addison Wesley is an imprint of © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 5 Working with Images Starting Out with Games & Graphics in.
Final Presentation.  Software / hardware combination  Implement Microsoft Robotics Studio  Lego NXT Platform  Flexible Platform.
Autonomous Tracking Robot Andy Duong Chris Gurley Nate Klein Wink Barnes Georgia Institute of Technology School of Electrical and Computer Engineering.
FAST: Fully Autonomous Sentry Turret
COMPUTER MAIN PART DANILO GARCÍA GONZÁLEZ TÉCNICO EN SISTEMAS.
X-WindowsP.K.K.Thambi The X Window System Module 5.
Lego MindStorm An Introduction to Blocks. Blocks Blocks are used to give instructions to your robot. There are many types of blocks You can use the blocks.
How To Build a Wiimote-enabled R/C car Richard Davis – SharpLogic Software.
Castor Bot. Now, we will begin creating a robot Log onto your computer On your screen, click on the website labeled “castor bot” Your building instructions.
Controlling Computer Using Speech Recognition (CCSR) Creative Masters Group Supervisor : Dr: Mounira Taileb.
ECE 4007 L01 DK6 1 FAST: Fully Autonomous Sentry Turret Patrick Croom, Kevin Neas, Anthony Ogidi, Joleon Pettway ECE 4007 Dr. David Keezer.
Main Computer Components
Augmented Reality and 3D modelling Done by Stafford Joemat Supervised by Mr James Connan.
Chapter 2 HAEDWAER.
HARDWARE DEVICES TOBY WILSON. HARDWARE DEVICES InputOutputStorage KeyboardMonitorsExternal Hard Disk MicePrintersFlash Drives Graphics TabletSpeakers.
Identify internal hardware devices (e. g
Chapter 1: Introduction to Computers and Programming.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
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,
OpenCV C++ Image Processing
ROBOTC for CORTEX Teacher Training © 2011 Project Lead The Way, Inc. Automation and Robotics VEX.
Introduction to Computers Mrs. Gambucci
NXT Mindstorms Kit Programming
BASIC PROGRAMMING C SCP1103 (02)
Computer Information Systems
Hand Gestures Based Applications
Everything is a number Everything in a computer memory and on storages is a number. Number  Number Characters  Number by ASCII code Sounds  Number.
BASIC PROGRAMMING C SCP1103 (02)
Introduction to computers
Identify internal hardware devices (e. g
Presentation transcript:

Stanley – RC Car

Introduction The idea of this project Initial Idea Add on develop Remote Controlled Car that will be controlled by the computer. Initial Idea Control Stanley by the keyboard Control Stanley by the mouse Draw the path Add on Direction by laser pointer Follow the Light point Follow the object based on the colour.

The Hardware Remote Controlled Car PhidgetInterfaceKit 0/0/4 board Digital controller PhidgetInterfaceKit 0/0/4 board USB-based controller, with 4 digital outputs USB Webcam IP Webcam

Connecting the Car Controller Identify the points Switches for controlling directions One switch = two points (ground and active) Press switch closes circuit Identify the points Different colour wires for different direction Solder on group of two points

Connecting the Car PhidgetInterfaceKit Board Screw the wires 4 Relay Outputs, each relay has 3 connections: #C = Common NO – Normally Open NC – Normally Close Screw the wires Grouped by the colour – to each relay #C, and NO Port no = #

Connecting the Camera Power connection wireless Power connector (2mm out diameter 1.3 inner diameter). Battery Holder Wires 4 AA CHARGABLE batteries at 1.2V each, with capacity rating over 2000mAh.

The Software Visual Studio 2008 Microsoft Robotics Studio Phidget Libraries Aforge Libraries

The Software Microsoft Robotics Studio Microsoft Robotics Studio Runtime have two main components; Concurrency and Coordinate Runtime (CCR) Managed code Library The Decentralized System Services (DSS) Decentralized Software Service Protocol (DSSP) –to interact with the services XML/Soap Subscribe to service Contains state information, identification and has ports that can accept messages and service handlers to process these messages Supports wide range of programming Languages; VB.NET, C#, Microsoft Visual Programming Language (VPL) (provided as part of the Microsoft Robotics Studio) Create Service Command prompt dssnewservice/service: RemoteCar Folder with project and Solution Files RemoteCar.cs (contains implementation of the remote car service) RemoteCar.manifest.xml (indicate a set of service that are to be started)

The Software Phidget Libraries PhitgetInterfaceKit is managed behind this library MRS includes a built-in service for PhidgetInterfaceKit Communicate with the PhidgetInterface Add Reference Import Library private phidgetinterfacekit.PhidgetInterfaceKitBoardsOperations _ikPort = new phidgetinterfacekit.PhidgetInterfaceKitBoardsOperations(); Declare Port private phidgetinterfacekit.PhidgetInterfaceKitBoardsOperations _ikPort = new phidgetinterfacekit.PhidgetInterfaceKitBoardsOperations(); Subscribe To the Service _ikPort.SelectiveSubscribe(null,new phidgetinterfacekit.PhidgetInterfaceKitBoardsOperations());

The Software public enum Direction { Forward = 0, Backward, Left, Right } public void SetOutput(Direction dir, bool enabled) if (dir == Direction.None) return; // create a new request to send to the Phidgets service phidgetinterfacekit.SetOutputRequestType req = new phidgetinterfacekit.SetOutputRequestType(); // assign the index and state (true/false) req.Index = (int)dir; req.State = enabled; // send the request to the port _ikPort.SetOutput(req);

The Software Aforge.NET Libraries Developed by Andrew Kirillow Written in C# For Computer Vision 6 main libraries: AForge.Imaging is library for processing routines and filters. AForge.Neuro is neural networks computation library. AForge.Genetic is evaluation programming library. AForge.Vision is computer vision library. AForge.Machine Learning is machine learning library. AForge.Robotics.Lego is for manipulation of Lego Mindstorm NXT devices. Classes for accessing local video capture devices (DirectShow), and motion JPEG stream.

Stanley without camera Control the car by keyboard Testing tool ProcessCmdKey/keyUp Control the car on the screen MouseUp/Down Control the car by the mouse Compare last x and y coordinates with new (count every 5th)

Stanley without camera Control the car by the mouse Compare last x and y coordinates with new (count every 5th)

Stanley without camera Follow the Path Compare first x and y points with last Calculate line length between points (Line Length = √ ((x2-x1)*(x2-x1)) + ((y2-y1)*(y2-y1)) Calculate Angle Compare angles ==> Measure Stanley movements

Stanley with camera Control on the screen With camera Testing tool MouseDown/Up Follow direction from the laser pointer Look trough each pixel in image Convert each pixel in corresponding colour from grey scale by using the Greyscale BT709 algorithm red * 0.2125 + green * 0.7154 + blue * 0.0721 = 0-255 Value >240 Record x and y points Determine direction Same algorithm like in “mouse move”

Stanley with camera Follow the Lightest point Find the lightest pixel – same as in previous example Record the x and y points Compare the points with camera position Determine direction Determine Distance (stop/go) Search for the object

Stanley with camera Track the object based on the colour Filter Image: Blur Colour Filter –RGB – range 0-255 Convert to Greyscale Threshold Convert image into a 1-bit binary image Black and white (depending on the pixel value Get Image size and position BlobCounter / getObjectRectangles(); Find the centre of the object Record the x and y points Compare the points with camera position Determine direction Determine Distance (stop/go) Search for the object

Deploy the Stanley DSS Deploy Tool Creates files containing all MRS components needed for running the application dssdeploy /p /m:“RemoteCar\RemoteCar.manifest.xml" InstallStanley.exe Start MRS not needed Trough Standard Command Prompt cd /d C:/InstallStanley" bin\dsshost /p:50000 /m:" RemoteCar\RemoteCar.manifest.xml"