Skip to content

OwenFeik/mhs_robotics_examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MHS Robotics Examples

These are minimal, well documented, examples of how to implement various concepts for Open Soccer. They aren't intended as drop-in and use options for your final codebase, but you could certainly take some inspiration from them. If you need help understanding or troubleshooting an example, try googling or ask a mentor.

The included examples at this stage are

  • motors/ an explanation of how to drive a simple DC motor using an Arduino, a LiPo battery and an L298N H-Bridge motor driver.
    • motor_simple/ a simple, one file implementation of motor driving in Arduino.
    • motor_oop/ a slightly more complex, object-oriented implementation of driving the same setup as in motors/motor_simple/. If you're new to C/C++, I would suggest starting with the simple version.
  • colour_sensors/
    • TCS3200/ a demonstration of how to use the TCS3200 colour sensor with an Arduino.

Also See

Examples of code used by previous open teams, with people you may know listed if they worked on the code. Note that this code isn't necessarily what you should do, you are free to use any technology you feel viable, these are simply samples that have worked in the past and you may want to draw inspiration from. Some of these repositories contain discussion of the physical robot designs used as well.

  • 2016
  • 2017
  • 2018
    • Phobots (Emily), some exploratory Arduino code, though the final robot code is pure Python, run on a Raspberry Pi.
    • MechaHertz (Owen, Griffin), split approach with an Arduino program run to manage motors and some sensors, alongside a Python program using OpenCV for ball tracking and communicating with the Arduino.
  • 2019

About

Examples for Melbourne High School Robotics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages