Skip to main content

Home/ Robotics P1/ Group items tagged line

Rss Feed Group items tagged

Declan Coen

PID Controller For Lego Mindstorms Robots - 7 views

  • light sensor "sees white" then we know it is left of the line's edge (and the line). If it "sees black" then we know it is to the right of the line's edge (and on the line). This is called a "left hand line follower" since it is following the line's left edge
  • We need to know what values the light sensor returns when it "sees white" and when it "sees black". A typical uncalibrated sensor might give a "white" reading of 50 and a "black" reading of 40 (uncalibrated, on a 0 to 100 scale). It is convenient to draw the values on a simple number line to help visualize how we convert light sensor values into changes in the robot's movement.
  • Below are our made up light values for white and black.
  • ...4 more annotations...
  • This type of a line follower will follow a line but it isn't very pretty. It looks OK on a straight line with with the motors programmed for gentle turns. But if the line has any curves then you have tell the robot to use sharper turns to follow line. That makes the robot swing back and forth across the line. The robot only "knows" how to do two things; turn left and turn right. This approach can be made to work but it is not very fast or accurate and looks terrible.
  • line with lots of curves usually needs to be making sharper turns. For gentle turns you might use Power levels of 50% on the fast wheel and 20% on the slow wheel. For sharper turns on a curvy line you might need to use 30% power for the fast wheel and coast or brake the slow wheel. Whatever power levels you use the numbers will be the same for the two turns, you just switch which motor gets the big number and which get the smaller number (or a stop command).
  • We'll just divide the range into two equal pieces and say that if the light level is less than 45 we want the robot to turn left. If it is greater than 45 we want to turn right. I won't go into how exactly the turns should be done. I'll just say that gentle turns work well for a fairly straight line
  • In the above approach the robot never drives straight, even if it is perfectly aligned with line's edge and the line is straight. That doesn't seem very efficient does it? Lets try to fix that. Instead of dividing our light value number line into two regions lets divide it into three.
  •  
    seems useful for following a line effectively
  • ...1 more comment...
  •  
    this is a really good technique
  •  
    the top of this article explains how it would be easier to follow the edge of the line rather than the center of the line. As it detects the white it will turn back to the black and as it detects the black it will turn back to the white.
  •  
    i found the edge thing on another site too
Thomas Helm

LINE - 4 views

Line Following In Chapter 3, we talked about going straight and having a well-tuned robot. I mentioned using the field environment for help in traveling a straight line, such as running along the...

started by Thomas Helm on 12 Mar 12 no follow-up yet
Joshua Wilkinson

NXT Line Follower - 2 views

  • When line following, the robot will try to align itself centered over the boundary between white and black (not centered over the black line), with black to the robot's left.  Here the brightness seen by the sensor is halfway between the black/min and white/max readings
    • Joshua Wilkinson
       
      This would be useful since we get the value when its over the tape and table, we can also find the value of the sensor when its directly over the tape then the table seperately.
  • When prompted to sample the "Min" or "Black" reading, position the sensor so that the red spot is centered over the line and then press the Enter button on the NXT. When prompted to sample the "Max" or "White" reading, position the sensor so that the red spot is completely over the surface away from the line and press the Enter button on the NXT.
  •  
    Before line following using either the LineFollow2 or LineFollow5 program, you should "calibrate" the light sensor to the actual conditions expected. With the sensor mounted on the robot where it will be used, and the robot placed over the actual line it will be following, a calibration process takes two light sensor readings, one directly over the line (minimum = darkest), and one over the surface away from the line (maximum = brightest).
  •  
    if we follow the edge of the line we will always be between the max and the minimum values. therefore, it can detect both values and stay between the min and the max.
  •  
    we have to figure out how to correctly calibrate the sensors
Thomas Helm

Line Follower - LabVIEW for Lego MINDSTORMS Projects - 3 views

  • 3. In case the lighting in the room changes, could you program your line follower to re-calibrate the light sensor when you push a button?
    • Thomas Helm
       
      could b useful later on to look into
  •  
    Tufts University Center for Engineering Education and Outreach In this activity, we will learn how to create a robot that follows a line on the ground. It will use one light sensor to sense where the line is, and use this to control the motors to steer the car and stay on the line.
Joshua Wilkinson

Line Detection - 9 views

it would work on the other tracks if the robot dosent drive off the line a lot.

Thaddeus McKeon

RoboCup Rescue Basic Line Follower.pdf (application/pdf Object) - 1 views

  •  
    this is kind of a weird way of straddling the line but it works
Anthony DiVirgilio

Fuzzy Line Following NXT Robot - 5 views

  •  
    One of the tutorials within the Lego Mindstorms NXT Software shows how to program a robot that follows a line using Boolean Logic. In the following, an improved version, based on Fuzzy-Logic, is presented. Although a little bit more complex, the program is still implemented using NXT-G Code.
  •  
    this has some good ideas
Declan Coen

electricbricks » Line Follower in LabVIEW. State Machines - electricbricks - ... - 6 views

  •  
    this is a possible way we can program the line folllower excluding the ultrasonic sensor
  •  
    you can use the ultra sonic sensor for the maze bot later
Andrew Drogan

Single Sensor « The Roboticist - 4 views

  •  
    In this setup, a single light sensor is positioned on the robot and programmed to follow the outer-edge of a black line. We commonly refer to the robot executing a 'Z' pattern while following the black line.
  •  
    a z pattern might not b the best idea on this because we have a certain time we have to do
  •  
    if we keep it between a very specific max and minimum then it will not zig zag as much and will appear to go straight
Andrew Drogan

Lesson on how to follow the line - 3 views

  •  
    this gives you a good strategy to find the line after you fall off
  •  
    This lesson will help you to follow the line better and more efficiently
Bryan Kelleher

How to make a line follower with only one sensor - Andy的網路日誌 - 無名小站 - 3 views

  •  
    This is a good way to find the line if you may have fallen off of it.
  •  
    this is a good way to make sure you dont lose the line
Thaddeus McKeon

NXT Line Follower - 1 views

  •  
    yet another NXT line follower bot using the light sensor
Anthony DiVirgilio

NXT Line Follower - 8 views

  •  
    shows how to build a robot that follows lines.
  •  
    line follower
  •  
    All we would have to do is change those razor things out
Anthony DiVirgilio

How Can I Make a Sumo-bot? - 3 views

  • No sumo-bot is perfect; this means that sumo-bots that I make and that you     make will have "problems" or "weak-spots."
  •  
    strategy sumo
  •  
    i don't see how that robot can go on the offensive side
Anthony DiVirgilio

http://drgraeme.net/DrGraeme-free-NXT-G-tutorials/Ch102/Ch102V1G/default.htm - 0 views

  • light sensor moved towards, and then away, from the line edge, (and then again towards, and then away, and so on…) as shown in the two photos below.
  •  
    I know we don't have 2 light sensors but it is nice to know one way of doing it
Thomas Helm

Nxt - 7 views

  •  
    this shows how to get an NXT to keep on the line where it should turn and all taht good stuff
  •  
    shows different light sensor values you should get around when you are going off the tape
Thomas Helm

NXT Forklift - 6 views

  •  
    this is a great idea because it is effective and we can use fishing line in place of the string. Our fork lift would have to be wider though.
  •  
    also shows how to make a bluetooth connection very doable to
Declan Coen

Building & Programming - LabVIEW for Lego MINDSTORMS Projects - 4 views

  •  
    another possible program
1 - 20 of 20
Showing 20 items per page