# Tag Info

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

No, but you do need to calculate the P/I/D terms correctly. You have: I = I + previous_I; followed by: previous_I = I; ...
• 15.9k

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

I would highly recommend using the encoders over estimating travel distance by rpm + time. Estimating motor velocity is notoriously tricky. Especially at slow speeds. A direct measurement is ...
• 5,865
Accepted

### Line following robot mathematic model

The robot you're trying to model is known as a Two Wheeled Differential Robot. It's easy to find specific kinematic models for it. You can start here or here.

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

I beleive youâ€™re looking for Power Density How you utilize said power of course is up to your design. You generally want the most wattage in the smallest package, and you should get something as to ...
Accepted

### Line-following robot with a 5th wheel

I m not familiar with those robots, but I will guess it's more used for odometry, in order to know the speed and the traveled distance. The design are packed so it is hard to see for sure, but it ...
• 1,411

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

Your question is a little bit fuzzy. You achieve different results with these two turning scenarios. If you keep one wheel stopped the the radius of the curve (turn) you make equals the robot width ...
• 311

### Line-following robot with a 5th wheel

The first robot is RS-100 and it won this year's all-Japan fine following competition. The fifth wheel is an encoder. The robots are allowed to remember the track - this is specific to this ...
1 vote

### Line-following robot with a 5th wheel

The fifth wheel is a odometric sensor as suggested by N staub. It is not for braking. Mobile robots do not use brakes as they cause the slipping on terrain often induce errors in odometirc position ...
1 vote

### What is stopping line following robots from being used for public transportation

There are several problem I could see on implementation of line following robot. Line detection problem Simple visual detection only work in a controlled enviroment. If there is really bad weather ...
• 647
1 vote
Accepted

### Path planning using nodes

You have presented a map of the robot. This is the correct first step. Now this map has to be reformulated as a sequence of decision which path to take. If you do this, you can build a tree. In this ...
• 6,682
1 vote

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

How will this blind robot know it isn't viewing the same node multiple times if it keeps coming back to the same point after getting caught in a loop? If you can assume the robot moves at constant ...
• 976
1 vote

### Planar Robot Boundary Detection

Since the lines are (usually) going to be perpendicular to the normal vector of your image, you can sample columns and use a Butterworth filter to extract the "peak" frequencies (must be configured ...
• 503
1 vote

### IR sensor spacing in sensor array relative to line width

The PID controller is best if you have a range of error from the ideal position to the extreme one. When i say extreme i am talking about the hard turn positions as compared to the ideal position. Now ...
1 vote
Accepted

### Visible light sensors for line follower

The Danish line follower robot competition "DTU RoboCup" recommends using visible light sensors in their competition, since IR sensors have a hard time distinguishing the floor from the line. I've ...
1 vote
Accepted

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

To begin with, let's first define the term trajectory and path. Once these definitions are clear, the rest will follow. Path is the set of all points a robot places itself at, to move from point A to ...
• 126
1 vote

### Why won't my PID line follower work?

You seem to only be using a PD controller, but that should be sufficient. The biggest typo I could spot is that you multiple instead of add the proportional and derivative terms. Namely it should be: ...
• 941
1 vote

### Tackling loops and discontinuations in PID line follower

What you need is a hierarchical fuzzy controller for crossing detection. The situation, that the black line on the ground has complicated shapes like zigzags and loops is a good opportunity for ...
1 vote

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

Keeping tracking of (x,y) location would fall under state estimation. One fundamental method of state estimation is odometry.
• 71
1 vote

### Calculating error on line following robot (PID)

I order for you to use a PID loop for line follow, you are going to need an error that is proportional to the distance you are from the line. That may not be possible with the sensors you are ...
• 725
1 vote

### How to use PID control for line following robot?

I struggled with this for a long time. I'm still struggling. I've used a PID for my (RTK) line-following tractors so far. They are barely good enough. I'll try to describe generally how I did it. ...
• 146
1 vote

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

A good starting point is to solve the problem first in simulation. If the algorithm not work on a 2D map on screen it will never work on a real arduino. For inspiration github is a good ressource. ...
1 vote
Accepted

### What algorithm should I use for a line follower?

For this task, using only PID would be adequate. However, It also depends on the response of your motors to control signals. You can also use fuzzy logic to tune the PID parameters, which are actually ...
• 111
1 vote
Accepted

### How to select dc motors for a line following robot?

It's a question of balance as always. You need to select motors that require voltage and current that your robot's power source can provide, physical size so that it fits on your robot and also torque ...
• 729
1 vote

### Line following robot with EV3 Colour Sensor

I hope you can only use EV3 Color Sensor for line following and sensing colors. There are 3 modes for the Color Sensor. You can use 2 of them for these tasks: 1.) Color Mode This mode is best suited ...
• 26
1 vote

### Tuning Line follower PID constants with Q-learning

I am currently working on a very similar project, the only difference is that I am using a simulation package (MATLAB Simmechanics) where I have modeled a mobile robot with 2 actuated wheels and a ...
• 244
1 vote

### Could anyone complete my challenge?

Yes, robotic arms or other devices could write for you. They can even be more prolific than Shakespeare. But probably the poetry they write is not your desideratum. If you plant numerous electrodes ...
1 vote

### Tuning PID controller for sharp turns in line follower robot

I believe what you observe with the integral part is windup. You might fix that by limiting the overall value of the I part, or resetting it once the error is small or zeroes out or changes sign (zero ...
1 vote

### Tuning PID controller for sharp turns in line follower robot

While calculating speeds, you are multiplying by 2*error. If PID (or PD) calculates an error, I believe it should be fed directly to the motors because in each loop it does not account for an ...
• 121
1 vote

### Line follower for coloured lines

Have you tried using combination of your RGB sensor with other sensors like LDR or photo diode. You can use these 2 sensors on the side with your RGB sensors at the centre which you say is quite ...
1 vote

### Implementing pure pursuit problem in robot navigation?

My understanding of the pure pursuit algorithm is that the look ahead distance is a fixed parameter. In this original paper [1], there is a short discussion on choosing the look ahead distance. I ...
• 5,865

Only top scored, non community-wiki answers of a minimum length are eligible