Difference between revisions of "Spike Prime - Line Following Car - Jakub Vojtek"

From RoboWiki
Jump to: navigation, search
(Created page with "Back to: Spike up Prime Interest in Science and Technology with Raspberry Pi Build Hat|List of projects of ''Spike up Prime Interest in Science and Technology with Raspberry...")
 
m
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
== About the project ==
 
== About the project ==
  
description...
+
This project is a line-following robot, designed to autonomously navigate along a pre-defined path. The robot uses camera to detect and follow a line, typically a contrasting strip of color on the ground. By continuously adjusting its steering to stay on the line, the robot can move accurately along complex routes.  
  
 
[[Image:BuildHat_linefollower_model.png|600px]]
 
[[Image:BuildHat_linefollower_model.png|600px]]
[[Image:BuildHat_linefollower_fotka.png|600px]]
+
[[Image:BuildHat_linefollower_fotka.jpg|600px]]
  
 
== Video ==
 
== Video ==
<youtube width="600" height="340">youtube_code</youtube>
+
<youtube width="600" height="340">13C6HhitrRs</youtube>
  
 
== Build a robot ==
 
== Build a robot ==
... you need to assemble the robot in one, you can study its design.
 
  
*Be careful while building....
+
*Be careful with the wires while building so they don't get stuck in wheels.
  
 
Building instructions:
 
Building instructions:
 
* [[Media:BuildHat_linefollower.pdf| Line Follower (pdf)]]
 
* [[Media:BuildHat_linefollower.pdf| Line Follower (pdf)]]
  
* [[Media:BuildHat_linefolloower.io|Spike pong (stud.io)]]
+
* [[Media:BuildHat_linefollower.io| Line Follower (stud.io)]]
  
 
== Get the robot ready ==
 
== Get the robot ready ==
 +
 +
* Pick the desired color range in HSV (Hue, Saturation, Value) from color_picker script.
 +
* Edit wheels speed to work for your project (faster for smaller turn angles, slower for bigger turn angles).
 +
* Place your robot on the start of the line.
  
 
Raspberry Python Code:
 
Raspberry Python Code:
  
 
*[[Line Following Car - Code|Line Following Car - Code]]
 
*[[Line Following Car - Code|Line Following Car - Code]]
 +
*[[Color Picker - Code|Color Picker - Code]]
  
 
== Ideas for improvement  ==
 
== Ideas for improvement  ==
 +
* Make the robot speed up if the line is straight and slow down before the turn.
 +
* Try to make the robot make as sharp turn as you can.
  
 
== Evaluate your performance ==
 
== Evaluate your performance ==
  
How to evaluate yourself
+
* Think about how you approached the problem and about how else could it be solved.
 +
* Evaluate yourself on how you adapted when something didn't work as you hoped it would.
  
  
Line 37: Line 44:
  
 
* [[Spike Prime - Line Following Car - Teacher Resources|Line Following Car - Teacher Resources]]
 
* [[Spike Prime - Line Following Car - Teacher Resources|Line Following Car - Teacher Resources]]
 +
 +
== Links ==
 +
 +
* Inspiration: https://www.instructables.com/OpenCV-Based-Line-Following-Robot/
  
 
__notoc__
 
__notoc__

Latest revision as of 10:05, 8 June 2024

Back to: List of projects of Spike up Prime Interest in Science and Technology with Raspberry Pi Build Hat

About the project

This project is a line-following robot, designed to autonomously navigate along a pre-defined path. The robot uses camera to detect and follow a line, typically a contrasting strip of color on the ground. By continuously adjusting its steering to stay on the line, the robot can move accurately along complex routes.

BuildHat linefollower model.png BuildHat linefollower fotka.jpg

Video

Build a robot

  • Be careful with the wires while building so they don't get stuck in wheels.

Building instructions:

Get the robot ready

  • Pick the desired color range in HSV (Hue, Saturation, Value) from color_picker script.
  • Edit wheels speed to work for your project (faster for smaller turn angles, slower for bigger turn angles).
  • Place your robot on the start of the line.

Raspberry Python Code:

Ideas for improvement

  • Make the robot speed up if the line is straight and slow down before the turn.
  • Try to make the robot make as sharp turn as you can.

Evaluate your performance

  • Think about how you approached the problem and about how else could it be solved.
  • Evaluate yourself on how you adapted when something didn't work as you hoped it would.


Teacher Resources

Links