Skip to content

bkuangs/f1tenth_lab3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab 3: Wall Following

Assignment link: https://github.com/f1tenth/f1tenth_lab3_template

Deliverable: Implementation of PID control with a video submission of the simulation

Submission video: https://youtu.be/78lcVt-F52M

Intuitive process map of the node functions:
Intuitive process map of the code

Blockers:

Before running simulation:

  • Node file was initially under scripts folder, so the command to run it didn't work (ROS couldn't find it)
  • There were errors in the code but they weren't printing out the script was directly run in terminal

Tuning simulation:

  • Car slowed down too much before turns, when turning it was too sharp -> lower kp, increase kd and update velocity logic to be more smooth
  • Car was "double pumping" before turning -> lower kd
  • Car was falling for the divot (false turning) -> updated the get_range() function to use "cone of vision" logic instead
  • Car kept turning into the wall -> set desired distance (from left wall) to 1.0

About

Wall Following with PID Control

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •