Skip to content

luke-who/line-following-robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino

Overview

Investigate the Relationship between Feedback Error and Line-Following Angle with a PID Controller on a 3pi+32U4 robot

Getting started

  • Upload & run the code located in src in Arduino IDE
  • Place to robot at the starting point, wait for it to finish the line following at the end point and stop.
  • Within 10s, plug in the USB cable to the robot to recieve serial output from src/recoder.h
  • Collect the data points and visualise it in plot/robot_data.ipynb

Line Following Paths

After uploading the code, experiment with the behaviour of the robot when turning at different angles and record their corresponding feedback error. You should expect to see more spikes in feedback error when the angle of the turning point is increased.

License

MIT

About

Line following robot with a PID controller

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published