Machine Vision
- Tools for visualizing Blob and Circle detect
- Sample Grayscale images for Circle detection
- Sample YUV images for Blob and Circle detection
- Reading from OpenMV Cam (…and other USB serial devices) without blocking
- Not needed when using ESP32, as that uses UART read which is non-blocking by default.
Math
- To navigate from point to point (eg. by GPS), you’ll need to know some basic vector math
PID Controls
Pybricks
Robocup Rescue Line
These slides are old, so the sample code are based on the old EV3 software. You won’t be able to use them directly, but the concepts and approach remains the same.
- Briefing Slides (ODP / PDF)
- Single Line Follower (ODP / PDF)
- Double Sensors Line Following (ODP / PDF)
- Ending the Loop (ODP / PDF)
- Turn on Green (ODP / PDF)
- Obstacles Avoidance (ODP / PDF)
- Handling Inclines (ODP / PDF)
- Tiles package for printing on A3 paper
- Video of a common and successful design
- Video of an unconventional design
- Difficult Lines Videos
GearsBot
The line following challenges are particularly relevant to Robocup Rescue Line. Find it under “Worlds -> Select World -> Line Following Challenges”.
- GearsBot (Try the “Line Following Challenges”)
- Colors Challenge
- All Green Challenge
- Follow Challenge
- Difficult Line
- Difficult Gap
On Stage
Arduino is no longer my recommendation for new designs. The ESP32 with IoTy (see below) is easier to use and much more capable. The non-Arduino documents below remains useful for new designs.
3D Design with Onshape
3D modeling is useful when building custom parts for OnStage. For laser cutting, it would suffice to go through Lesson 1 and Lesson A.
- Creating an Account
- Lesson 1 : Sketch and Extrude (ODT / PDF)
- Lesson 2 : Revolve, Fillet, Chamfer (ODT / PDF)
- Lesson 3 : Sweep, Loft (ODT / PDF)
- Lesson 4 : Repeating with Patterns (ODT / PDF)
- Lesson A : Prepare for Laser Cutting (ODT / PDF)
IoTy
IoTy is a platform for programming the ESP32 using blocks or Python. This is useful for OnStage, Robocup Rescue Line (…if you’re building non-Lego robots), and for general electronics projects (eg. for WRO open category).
- Link to IoTy
- Intro to ESP32 and IoTy
- Connecting
- Working with Breadboards
- Analog Output
- Digital Input
- Ultrasonic Sensor
- Neopixel
- HSV
- IoT with IoTy