Skip to content

Basic Sparki program for obstacle avoidance using the ultrasonic sensor

Notifications You must be signed in to change notification settings

bjpetit/SparkiWanderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

SparkiWanderer

Basic Sparki program for obstacle avoidance using the ultrasonic sensor

This program moves Sparki around and uses the servo mounted ultrasonic range finder to avoid colisions. Here's a basic overview of the program...

  • Move forward until;
    • An obstacle is detected 20cm in front of Sparki, or
    • It has been too long since Sparki detected shrinking distance between it and an obstacle
  • When either condition is encountered, Sparki will look around and find another path forward by sampling range to an obstacle at different angles and picking the clearest path

Note: the second condition is intended to catch the situations where sparki has gotten stuck on an obstacle which was out of view of the ultrasonic range finder

About

Basic Sparki program for obstacle avoidance using the ultrasonic sensor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%