Introduction to Robots and the Mind - Sensors - Bert Wachsmuth & Michael Vigorito Seton Hall University.

Slides:



Advertisements
Similar presentations
EV3 Workshop Curriculum Developed by Joe DeRose, Ph.D.
Advertisements

Programming Logic Controllers
Add and Use a Sensor & Autonomous For FIRST Robotics
LabView Basics.
Sensors.
Motors, Sensors, and Samantha SSI Robotics September 7, 2013 Capitol College.
Rotary Encoder. Wikipedia- Definition  A rotary encoder, also called a shaft encoder, is an electro- mechanical device that converts the angular position.
BEGINNER EV3 PROGRAMMING Lesson
Using the Light Sensor A LEGO light sensor utilizes a LED and a phototransistor to read the reflection of light off a surface. Light sensors are useful.
Patent Liability Analysis Andrew Loveless. Potential Patent Infringement Autonomous obstacle avoidance 7,587,260 – Autonomous navigation system and method.
EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Introduction to Robotics Day4.
1 ©2006 INSciTE Lab Two Task: Make the program from Lab One (Move forward 5 rotations and turn right 90 degrees) into a MyBlock.
Session 2  The Touch Sensor  The Colour Sensor.
BEGINNER EV3 PROGRAMMING Lesson
1 Sensors BADI Year 3 John Errington MSc. 2 Sensors Allow a design to respond to its environment – e.g. a line following robot may use photosensors to.
The NXT is the brain of a MINDSTORMS® robot. It’s an intelligent, computer-controlled LEGO® brick that lets a MINDSTORMS robot come alive and perform.
Program ultrasonic range sensor in autonomous mode
EV3 Workshop Oct 3, 2015 Instructor: Chris Cartwright
Robot sensors MVRT 2010 – 2011 season. Analog versus Digital Analog Goes from 0 to 254 Numerous values Similar to making waves because there are not sudden.
Negative Power or Negative Rotation makes robot go backwards. But if both are negative, the robot will go forward! Move Steering Block.
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Using Sensor Data and Port View.
Introduction to Robots and the Mind Bert Wachsmuth & Michael Vigorito Seton Hall University.
EV3 Software EV3 Robot Workshop
ROBOTC Software EV3 Robot Workshop
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Topics Covered: Touch Sensor.
Introduction to Robots and the Mind - Proportional Controller - Bert Wachsmuth & Michael Vigorito Seton Hall University.
Casne.ncl.ac.uk Taking care of the CrumbleBot Please do NOT stress the robot's motors 1.Do NOT push the robot 2.Do NOT hold the.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
Introduction to Robots and the Mind - Programming with Sensors - Bert Wachsmuth & Michael Vigorito Seton Hall University.
USING SWITCHES TO PROGRAM A CANDY SORTER DESIGNED FOR USE WITH LMS EV3 PROGRAMMING AND BUILDING ENVIRONMENT.
Python Programming Module 4 Sensors and Loops Python Programming, 2/e1.
EV3 Attachments and Sensors. Ultrasonic Sensor  Purpose: detect distance from an object.  What it does: Generates sound waves and reads their echoes.
VEX IQ Gyro Sensor Measures rotational angle of the robot
NXT Mindstorms Kit Programming
By Sanjay and Arvind Seshan
Know your Robot Electrical Parts
VEX IQ Curriculum Smart Machines Lesson 09 Lesson Materials:
Exploring Computer Science Lesson 6-5
Comparing EV3 & HITechnic COLOR SENSORS
Download the GOTO BEACON program from the E10 website, Robot lab section,
Lecture 10 Sensors.
BEGINNER EV3 PROGRAMMING Lesson
Sensors Color Identification Mike Zook 13-Sep-2016.
By Sanjay and Arvind Seshan
Introduction to Robots and the Mind - Path Integration -
Touch Sensor.
LEGO Robotics Ultrasonic Sensor
Using Switches to Program A candy Sorter
BEGINNER PROGRAMMING LESSON
Day 32 Range Sensor Models 11/13/2018.
Introduction to Robots and the Mind - Methods -
Sensors Training.
Sensors Color Identification Mike Zook 13-Sep-2016.
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
FeMaidens Programming
Motors and Sensors Large Motor
Exploring Computer Science Lesson 6-5
BEGINNER PROGRAMMING LESSON
Holyoke Codes LEGO ROBOTICS
Distance Sensor Models
BEGINNER PROGRAMMING LESSON
Using Switches to Program A candy Sorter
BEGINNER PROGRAMMING LESSON
Coding Edbot Dream with Scratch
Compiled from various Internet sources Presented by Mr. Hatfield
Lego MINDSTORMS EV3.
BEGINNER PROGRAMMING LESSON
Oregon Robotics Tournament and Outreach Program
Presentation transcript:

Introduction to Robots and the Mind - Sensors - Bert Wachsmuth & Michael Vigorito Seton Hall University

Working with Sensors  Motors are connected to output ports and provide a means for a robot to act  Sensors are connected to input port and provide a means for a robot to experience its surroundings  Robot sensors could emulate human senses or they could pick up other data (e.g. Geiger counter, metal detector, IR sensor, etc.)  Robot sensors could be many times more sensitive than human senses, but humans often have superior ability to process sensor results (e.g. night vision cameras are better at creating an image at night, but humans are better interpreting it).

Open Loop Control  Controls a system using only the current state and its model of the system –The state of a robot refers to the current value of all fields  For well-defined systems where the relationship between input and the resultant state can be modeled by a mathematical formula  Cheap and (relatively) easy to implement  Requires few or no sensors

Closed Loop Program  A program with a feedback loop that measures differences between actual and desired state and takes corrective action if necessary  Involves one or more sensors to measure differences from desired goal  Measured differences are used to modify actuators to move robot state closer to goal  More sophisticated algorithms  More expensive

Open or Closed Loop?  An irrigation sprinkler system programmed to turn on at set times  Irrigation system with a moisture sensor  Washing machine where length of wash cycle depends on the judgment and estimation of the human operator  Washing machine with dirt sensor  Open or Closed: a conveyor belt system that is required to travel at a constant speed?

Open or Closed Loop  Is our “Geometric Figure” program open or closed loop?  What sensor(s) would we need to improve our program and turn it into a closed loop program

Sensors  Passive sensor: measures some parameter without impacting on its environment  Active sensor: influences its environment and measures the resulting impact  Active sensors are more sensitive but they change their environment  Active sensors are bad for stealth mode

Touch Sensor  EV3TouchSensor  Passive sensor  Registers if red portion of the sensor is pushed in or not  Only registers “touch” or “no touch”, not intensity –getTouchMode() only mode available

Color Sensor  EV3ColorSensor  Passive or active mode  Can detect eight different colors. Can also serves as a light sensor by detecting light intensities –getColorIDMode() measures the color ID of a surface –getRedMode() measures the level of reflected light from the sensors RED LED. –getRGBMode() measures the level of red, green and blue light when illuminated by a white light source. –getAmbientMode() measures the level of ambient light while the sensors lights are off.  setFloodlight(int colorID)

Ultrasound Sensor  EV3UltrasonicSensor  Passive or Active mode  Measures distance to an object in front of the sensor. Can also be used to detect other (active) Ultrasonic sensors in the vicinity –getDistanceMode() Measures distance to an object in front of the sensor in meter –getListenMode() Listens for other ultrasonic sensorsBoolean

Gyro Sensor  EV3GyroSensor  Passive sensor only  Measures the sensors rotational motion and changes in its orientation. –getAngleMode() measures the orientation of the sensor in degrees –getRateMode() measures the angular velocity of the sensor in degrees/second –getAngleAndRateMode() measures both angle and angular velocity in degrees and degrees/second  reset() Recalibrate the sensor and to reset accumulated angle to zero. Keep the sensor motionless during a reset.

Sensor Framework For each sensor  Define field of type “EV3 sensor name”  Define field of type SensorProvider and initialize to the desired sensor mode  Define field sensorData of type float[] to store the data sensed by sensor  Define a method to query the sensor and return the sensor data

Example private static EV3UltrasonicSensor distanceSensor = new EV3UltrasonicSensor(SensorPort.S1); private static SampleProvider distanceProvider = distanceSensor.getDistanceMode(); private static float[] distanceSample = new float[distanceProvider.sampleSize()]; public static double getDistance() { distanceProvider.fetchSample(distanceSample, 0); return distanceSample[0]; }