Questions tagged [line-following]

A line-following robot is typically a wheeled robot with light sensor(s) beneath it. The goal of the robot is to follow along a line with a distinct color or intensity, e.g. black on white background.

Filter by
Sorted by
Tagged with
16 votes
2 answers
5k views

Programming a line following robot with reinforcement learning

I am considering programming a line following robot using reinforcement learning algorithms. The question I am pondering over is how can I get the algorithm to learn navigating through any arbitrary ...
Lord Loh.'s user avatar
  • 575
11 votes
5 answers
8k views

How to make an "invisible line following robot"?

I would like to build a robot which follows a virtual path (Not a visible path like a 'black line on a white surface', etc). I'm just enthusiastic by seeing some sci-fi videos which show robots carry ...
Nitin's user avatar
  • 121
9 votes
2 answers
7k views

Line Follower optimization

I'm working on building a line follower robot and want to optimize its performance. It was suggested that I use a PID algorithm. I read a lot about PID but am confused a bit regarding following: I've ...
meteors's user avatar
  • 221
6 votes
6 answers
16k views

How to check for a sharp angle with a line follower?

I have the mBot robot and I want to program it to follow the line. So far it can pass any kind of line that is >90°. I want it to be able to pass 90°-ish angles as well. Like this one: The problem ...
jan's user avatar
  • 163
5 votes
3 answers
1k views

How can I implement tremaux algo in arduino line follower to navigate and create map?

The Map1 The task is divided into 2 runs, In first run, We have to navigate through whole map and reach the end mark taking all checkpoints. In second run, using the mapping from first run we have to ...
Saransh's user avatar
  • 81
5 votes
1 answer
538 views

Tuning Line follower PID constants with Q-learning

I am currently working on a line follower buggy and have managed to tune the PID constants​ manually. The buggy follows the line at a moderate speed. I will now like to take things further and learn ...
Zadiq's user avatar
  • 51
4 votes
2 answers
379 views

Optimal-time acceleration sequence of a line-following robot following a moving obstacle

Say we have a line-following robot that has a moving obstacle in front, that is a one-dimensional problem. The moving obstacle is defined by its initial state and a sequence of (longitudinal) ...
user1225999's user avatar
4 votes
2 answers
765 views

What is an effective distribution of grayscale sensors on robot

I'm working on a robotics project, and I am using grayscale sensors to automatically follow a black line: turning 90 degrees, going round in a circle, and passing through gaps in the lines etc. I was ...
C_Beginner_Learner's user avatar
4 votes
1 answer
8k views

Maze Solving Algorithm For Mazes With Loops

I am trying to implement a line following robot that can solve mazes similar to the Pololu robots you can watch on youtube. My problem is the maze that I am trying to solve is looped and therefore ...
user2476983's user avatar
3 votes
1 answer
1k views

How to make a robot arm follow a shape/path

I have constructed a 3 DOF robot arm. I want it to follow a trajectory on a 2D plane (XY). Tha shapes I want to follow are lines, cycles and splines. I now the math behind these 3 shaped (how they are ...
Metalzero2's user avatar
3 votes
3 answers
1k views

Line following robot with EV3 Colour Sensor

I am trying to build an advanced coloured lines following robot with the ability to differentiate between many different coloured lines and follow them. I am looking for the right sensor that will ...
user3064497's user avatar
3 votes
1 answer
566 views

What algorithm should I use for a line follower?

I actively take part in robotics competitions with my school's robotics club, and all of the line followers we use, are implemented using a PID algorithm (PD actually), but recently my electronics ...
Bruno's user avatar
  • 33
3 votes
2 answers
3k views

Tuning PD for line follower

I am trying to make line following robot. I am using atmega328p mcu, pololu 10:1 motors, pololu qtr6-rc sensor, 2s li-po. Here is my code: ...
mikk's user avatar
  • 31
3 votes
1 answer
7k views

Single-shaft vs Double-shaft motors

I am trying to make a line follower robot and I need help regarding the type of dc motor to use. So we have a single shaft BO Motor and a double shaft BO Motor. Can anyone help me understand what is ...
Divyansh's user avatar
2 votes
2 answers
668 views

Linear State space model for mobile robot

How can I write a linear state space model for a 4 wheel mobile robot with Ackerman steering in terms of error. I want the robot to follow a line. The robot is rear wheel drive
Jackson's user avatar
  • 21
2 votes
1 answer
3k views

Length and Width of a Line Following Robot

I'm building a line following robot. I have made different chassis designs. The main prototype I'm using is a rectangle base. At one side motors are placed. On the other side of the rectangle caster ...
Ramesh-X's user avatar
  • 192
2 votes
1 answer
31 views

Is there a table of DC motors in relation to weight/mass? I want to find the fastest for my build

I am building a line follower robot for a science competition, i have the weight of the components but i don't know what would be the fastest motor i could use to reach the best avg speed of the robot....
MonneratRJ's user avatar
2 votes
1 answer
782 views

IR sensor spacing in sensor array relative to line width

I'm trying to build a line follower bot that follows a 3cm wide black line. I have a line sensor array with 6 analog sensors spaced 1cm apart. This means that in an ideal situation, i.e bot going ...
Raihanul's user avatar
2 votes
1 answer
2k views

Robot wire follower + how to position on wire

I'm designing my lawn mower robot, and I am in the perimeter stage. The electronic part is done, and works quite good, now comes the software. I need an advice on how to deal with the problem of ...
Val's user avatar
  • 121
2 votes
1 answer
946 views

Implementing PID on a line following bot using turtlebot

I am using ROS melodic,turtlebot 2 on Ubuntu 18.04. The idea is to create an environment consisting of lines as a path (slightly curved), and to program the turtlebot to follow the lines. Basically, a ...
satan 29's user avatar
  • 131
1 vote
1 answer
108 views

Do I need to use separate function in PID algorithm to make the bot go LEFT or RIGHT?

Do I need to use separate function in PID algorithm to make the bot go LEFT or RIGHT? ...
Dinury's user avatar
  • 21
1 vote
2 answers
6k views

it's worth to make a line follower using a raspberry pi and a web cam?

I wonder if this would be a competitive robot compared with one made with a traditional approach using a microcontroller and infrared sensors. I suppose that raspberry can perform an edge detection to ...
user2720241's user avatar
1 vote
1 answer
2k views

Typical Problem in Simple Line Follower Using 3 sensors

I am working on building a line follower robot using ATmega2560 and I want its movement to be more precise. I am facing a very typical problem. It consists of three(3) IR sensors. The thickness of the ...
Deepak Singh's user avatar
1 vote
1 answer
652 views

Color sensor alternatives [closed]

I am making a white line follower. I am using an IR sensor module based on TCRT5000. I am directly taking the 8bit ADC reading from Arduino Uno and printing the values on serial monitor. I observe ...
Parthiv P's user avatar
1 vote
1 answer
297 views

Path planning using nodes

I want to run my bot over a map that has nodes and I am just stuck about how to begin the path planning, I literally searched over the internet and found so many algorithms Like A* , Dijkstra's, etc. ...
Unpared Electron's user avatar
1 vote
2 answers
231 views

How to find the optimal path for a line following maze robot?

First let me explain the problem. This is a maze made only out of black lines on a white surface. The robot has only a few IR sensors which can sense the position of the line. No other sensory input ...
Sagnik77Om's user avatar
1 vote
1 answer
142 views

Visible light sensors for line follower

I'm making a second version of my line follower robot and I'm thinking what are the line sensors going to look like. In the previous version I've successfully used IR LEDs and IR phototransistors, ...
cube's user avatar
  • 729
1 vote
1 answer
2k views

What are the differences between trajectory planning, trajectory tracking, path planning, path following and motion planning?

What are the differences between trajectory planning, trajectory tracking, path planning, path following and motion planning? And what are the basic methods they use?
winston's user avatar
  • 123
1 vote
1 answer
276 views

Why won't my PID line follower work?

I'm trying to implement a PID based line follower. The robot has 2 line sensors with ranges from 0-200, with 0 being black and 200 being white. I'm trying to follow a black line. I'm struggling to ...
Lily Haynes's user avatar
1 vote
1 answer
53 views

How to keep track of (x,y) co-ordinates of a line-following bot?

I am working on a bot that follows a certain line path based on some pre-determined algorithm. I would like to know what the (x,y) co-ordinates of my bot are as it traverses with respect to some pre-...
cuebits's user avatar
  • 111
1 vote
1 answer
2k views

Calculating error on line following robot (PID)

I am kind of new to control systems and I am currently making a line follower using PID loop. I am using 6 IR LED Photo-transistor pairs to detect the line but I am not sure how to calculate the error....
Prakhar Pradeep's user avatar
1 vote
1 answer
231 views

How to use PID control for line following robot?

It's me the greatest noob again.thank you very much for your last help guys.Now,this time I am with a line following robot.I want to use PID control in it.But I'm not getting any perfect resource from ...
Rakibul Islam Prince's user avatar
1 vote
1 answer
3k views

Implementing pure pursuit problem in robot navigation? [closed]

I would like to implement pure pursuit waypoints navigation. we know that, look ahead distance=look ahead gain*vehicle forward velocity How can I calculate look ahead velocity gain/look ahead gain? ...
Learning's user avatar
1 vote
1 answer
1k views

How to select dc motors for a line following robot?

What are the criteria to consider when ordering dc motors for a line following robot? Is there a way to calculate the torque required?
Ivantha's user avatar
  • 125
1 vote
1 answer
672 views

How do I build a world for a line follower bot in gazebo?

I am just starting off in robotics with my own little pet project: a line follower using openCV. However, I have no idea how to create a world in Gazebo for the bot. I went through the official Gazebo ...
theavidtinkerer's user avatar
1 vote
0 answers
43 views

Determining Orientation of a Robot Relative to a Line on Table

I am currently busy with a robot that needs to obtain it's orientation relative to a line seen by a camera. At the moment, I am using Hough lines to obtain a gradient for the line, but the gradient ...
SupanovaZA's user avatar
1 vote
0 answers
91 views

Maze wall hugging both clockwise and anti-clockwise

So I did the algorithm for the vehicle to go in a clockwise direction(Refer to my pseudocodes below). But now that my school had said there will be an anti-clockwise direction as well, I'm not sure ...
user10995546's user avatar
1 vote
0 answers
284 views

Detecting and counting the number of junctions

So I am making a robot which is to follow a line. The field has both +(junctions) as well(by the intersection of two lights). I am yet to figure out what exactly is the best way to track the number of ...
robotlover's user avatar
1 vote
0 answers
239 views

issues with LSA-08 line sensor for line tracing

I am using LSA-08 self calibrating sensor for line following purpose. But the problem with my sensor is it can't distinguish between faint blue color and white color (having RGB values 185, 217, 235). ...
ketan somvanshi's user avatar
1 vote
1 answer
2k views

Are there any others alternatives for PID controllers for line following robots? [closed]

Are there any better/ advanced ways of steering a line following robot other than pid controller? If so what are them?
Ivantha's user avatar
  • 125
1 vote
0 answers
43 views

How to drive robot without driving actuator? [duplicate]

I am participating in a robotics competition. I am supposed to design and build two robots. Out of these, one cannot have a driving actuator (it can have a steering actuator though, fed by a line ...
Vaibhav's user avatar
  • 61
0 votes
3 answers
1k views

Line-following robot with a 5th wheel

Both of these 4 wheel drive line following robots have a fifth wheel in the rear. My first thought is, that it is used as a braking mechanism. Would that be the case? If so, could someone explain - ...
Magnuss's user avatar
  • 103
0 votes
1 answer
1k views

Line following robot mathematic model

I'm trying to improve the speed my line following robot. I have made this chassis designs. This is the main prototype I'm working on. Look at the following image. I'm driving the robot with PID, and ...
nhatnamt's user avatar
0 votes
3 answers
1k views

What is the best way to turn in 2WD simple differential drive line following robot?

I've used 4 sensors & a standard smart robot chassis kit with geared motors & L298 motor driver. What is the difference between turning in: One wheel stopped, one wheel moves. Both wheels ...
practronix512's user avatar
0 votes
2 answers
3k views

Tuning PID controller for sharp turns in line follower robot

I'm working on a TWDD line-following robot using qtr-8a reflectance sensor array. The sensors are connected to BeagleBone Black, and BBB is sending the speed serially to an arduino Due. My approach is ...
DieDen's user avatar
  • 165
0 votes
2 answers
2k views

Advanced Line Following Robot of Maze Solving

I know how to make a line follower. But in this video what have they done exactly? They are giving the source and destination in the map but how the robot moves based on the instruction given in map? ...
Karthik's user avatar
0 votes
1 answer
127 views

Planar Robot Boundary Detection

I am tasked with building a robot that needs to localise and navigate itself on a rectangular surface (like a large desk). The rectangle's shorter sides will be marked with a red tape (or with two ...
SupanovaZA's user avatar
0 votes
2 answers
879 views

Line follower for coloured lines

I am building a line-following robot with a Raspberry Pi Zero, using the explorer PHat. The robot is supposed to follow black, red, green and blue lines and react to the colour, so it should drive ...
Cay1990's user avatar
0 votes
1 answer
143 views

How would I implement a following drone with a camera using GPS?

As the title states, is there any way to make a following drone that tracks a GPS unit, and follows/orients camera to that? Similar to this
Harm's user avatar
  • 3
0 votes
2 answers
191 views

Is there a brushless motor controller accepting over 500 updates/s?

I want to use brushless for my line follower. The problem is most ESCs don't accept more than 400-500 updates/s due to the characteristic of steering signal. Is there a way to overcome this with a ...
Chumanista's user avatar