Debugging It doesn’t work…. What do I do???? #@&*.

Slides:



Advertisements
Similar presentations
Robofest 2005 Introduction to Programming RIS 2.0 RCX Code.
Advertisements

RCX Workshop Day 2 Programming with Touch Sensor Light Sensor Repeat CJ Chung Associate Professor of Computer Science Lawrence Technological University.
EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner.
Engineering Roles We will be forming groups of 3 students
ACADs (08-006) Covered Keywords Switchgear, motor control, ground, circuit breaker. Description Supporting Material
Photos and Sensor Instructions
Chapter 8 STARTING, STEERING, STOPPING
Connecting VEX and ROBOTC
Debugging (updated 9/20/06 12:48pm) It doesn’t work…. What do I do????
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.
Sensors for use in this class. Sensors 2 Robotics: Bridgewater state college.
GIRLS Robotic Camp. Let’s Begin Meet and Greet – Camp leaders introduce themselves – Students introduce themselves.
Introduction to the Basic Parts of LEGO’s NXT Robotics
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 3.
Available at: Lesson 3.6 – Program Line Follower in Autonomous Mode Program Line Follower in Autonomous Mode.
Programming a light sensor to follow a black line.
Robotics Overview of NXT-G Actuators in Mindstorms. Touch sensor Labwork: Right turn. Touch/bump. [Explore move versus Motor Move mini & motor mini. Motor*.]
7.2 V battery pack and charger Put the battery in the charger station at the end of the lab. period. Red light indicates charging. Ken Youssefi Introduction.
AUTOMATION AND PROGRAMMING SOME GET STARTED TIPS… Everyone please log into RobotC !
More LEGO Mark Green School of Creative Media. Introduction  Now that we know the basics its time to look at putting some robots (or toys) together 
Negative Power or Negative Rotation makes robot go backwards. But if both are negative, the robot will go forward! Move Steering Block.
3 | Touch sensors Created by H. Robinson & A. Gostelow TOUCH SENSORS.
THE TOUCH SENSOR The Touch Sensor, shown in the picture, gives the robot the sense of touch. It gives too different signals when the orange part is ether.
Build a Robot By Khalid 7D. What do people use robots for People use robots to do work for them, for example: some one might build robots that has a calculator.
Find the Mindstorms Icon on the computer.. To start a new program click go.
It is a car launcher. The car goes into the two connect pieces. Then you pull the lever causing the gears to mesh. Then when you let go of the lever.
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4/Lab3.
Oregon Robotics Tournament and Outreach Program RCX Basics.
Obstacle Detection. In the previous program the robot moves forward and then checks for something in the way. As we observed it only checks for things.
Get your software working before putting it on the robot!
Connect VEX and ROBOTC Electrical Engineer Responsibilities © 2011 Project Lead The Way, Inc.Automation and Robotics VEX.
ROBOTC for CORTEX Teacher Training © 2011 Project Lead The Way, Inc. Automation and Robotics VEX.
LEGO Robotics Workshop
Introduction to Programming in RobotC
Electrical Engineer Responsibilities
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Automatic Transmission Stall Test
SEI Robotics Lego Mindstorm Competition
BEGINNER EV3 PROGRAMMING Lesson
Deriving Consistency from LEGOs
Chapter 3 Basic Vehicle Control
Automatic Transmission Stall Test
Electrical Engineer Responsibilities
Actuators & Directional Control Valves
Electrical Engineer Responsibilities
Programming Part 2 Mod Kit
Electrical Engineer Responsibilities
Programming - Motion Intro to Robotics.
Content Gears Gear ratios Types of gear wheel. Unit 41: Transmission 1 Dr. Fady El Nahal Technical English Islamic University of Gaza April, 2017.
Autonomy using Encoders
What are the Common Warning Signs of Faulty Oil Pressure Sensor.
BEGINNER PROGRAMMING LESSON
Robot Design gears lamp touch sensor right motor left motor
Introductory Presentation
By Sanjay and Arvind Seshan
Automation and Robotics
Module F: Presentation Understanding Robot Fundamentals
TECH 1 BAMS Technology Education
Systems Design Nursebot
VEX Motors & Servos J.M. Gabrielse.
Forward Until Touch Robot goes forward until it hits a wall.
Switch Blocks check a value and choose a path based on that value
BEGINNER PROGRAMMING LESSON
SENSORS.
INTERMEDIATE PROGRAMMING LESSON
Actuators & Directional Control Valves
Obstacle Detection.
lesson 4.2 BASIC DRIVING MANEUVERS
Oregon Robotics Tournament and Outreach Program
Exploring Computer Science Lesson 6-11
Presentation transcript:

Debugging It doesn’t work…. What do I do???? #@&*

(beams, gears, wheels, etc.) Debugging Your System Mechanical System (beams, gears, wheels, etc.) Control Logic (the NXC program) Actuators (motors) Sensors (touch, light, etc.) Robot All four subsystems of the mobile robot interact.

Mechanical Subsystem For Bumpbot 2: For normal straight-line motion, the mechanical lever should keep the touch sensor closed. Does the bumper work smoothly? Does the mechanical lever depress the touch sensor properly? When you let go of the bumper, does the spring mechanism release and close the switch?

Sensors For Bumpbot 2 When the bumper is not depressed does the view panel indicate a value of 1 (closed)? When you depress the bumper does the value change to zero? If the above does not happen, are the leads from the sensor attached to the correct terminal? Check SetSensor( ) function to make sure you are referencing the correct sensor port. In order to view the sensor values, you must have downloaded the program. This is the only way the RCX knows what kind of sensor is attached and will display the correct scaling. If all of the above checks out, it is possible (but not very likely) that the sensor is broken.

Motors For Bumpbot 2 Are the actuators attached to the right ports? Is Forward really the forward direction? You can use the manual control to drive the motors forward. If they go in the wrong direction change the polarity.

Control Logic More on this later!!!!