Skip to content

Code written in C++ and RobotC for a first year design project, which allowed a robot to plot functions on a whiteboard.

Notifications You must be signed in to change notification settings

a-gratton/GraphingBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphingBot

Code written in C++ and RobotC for a first year design project, which allowed a robot to plot functions on a whiteboard. This project was created collaboratively with Kyle Hong and Kevin Gu.

Features

  • Can accept, parse, and simplify input of any number of arbitrary polynomial terms in any order that the user desires
  • Capable of generating a plotting instruction file for any mathematical function
  • Limit switches allowing consistent coordinate tracking
  • Movable pulley system to lift the end effector
  • Ultrasonic sensor keeps track of the robot's distance from the wall as a safety feature
  • Robot can both plot and erase the whiteboard.

Flowcharts

alt text C++ input parsing and path finding algorithm flowchart

alt text

RobotC sensor, file, and actuator interfacing algorithm flowchart

Check out the Images folder to see the GraphingBot in action!

alt text

Note that some software libraries for the RobotC code have been excluded, as I don't own the rights to distribute them.

About

Code written in C++ and RobotC for a first year design project, which allowed a robot to plot functions on a whiteboard.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages