ZaynDamji

ZaynDamji

0-day streak
Added a test method to track distance robot traveled over a duration of time at a certain voltage in C++.
https://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/e59ef68b-52e6-463e-9c51-45969accf02b-screen_shot_2024-11-30_at_4.07.51_pm.png
Using Pyautogui to click on coordinates on my screen.
https://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/ce759e34-9df0-4de8-9cc4-32a8e120c13b-screen_shot_2024-11-29_at_10.13.02_am.png
Modeled a new Odometry class for tracking robot position.
https://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/ab3df127-f280-4968-ac5b-c3947e7d3541-screen_shot_2024-11-28_at_3.23.02_pm.png
Starting to port over a PID implementation from a library to my own robot code. Hoping to port/edit more code from this library in the following days.
https://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/33aeabc2-5d05-4f25-a861-3448e7f28f90-screen_shot_2024-11-28_at_11.35.41_am.pnghttps://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/ef085943-6286-469a-9b3d-c9f3fe1113de-screen_shot_2024-11-28_at_11.35.55_am.pnghttps://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/30fa1680-02e1-4023-87bd-1f1233bb2244-screen_shot_2024-11-28_at_11.35.50_am.pnghttps://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/d0318762-ed9d-4d44-a1e1-e88ae4519bd8-screen_shot_2024-11-28_at_11.36.03_am.png
Figured out how to better calculate the center coordinate for an object on the screen that is being template matched (using CV2 and Python).
https://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/b4b4a8bf-ab21-4393-8480-89659ade0b94-screen_shot_2024-11-27_at_11.10.41_am.png
python emoji
It can now template match all ingredients, and pretty efficiently because the screenshot only takes a region of the screen!
https://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/668b2055-9f80-4442-84ab-2444f01bd80f-screen_shot_2024-11-27_at_10.44.04_am.pnghttps://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/beb1d2cc-aa4d-446f-a736-63adae3504aa-screen_shot_2024-11-27_at_10.43.44_am.pnghttps://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/4d06c620-6fad-4bf6-8e09-6b2706f9fe91-screen_shot_2024-11-27_at_10.43.52_am.png
Figured out how to find the width and height of the current display, and used it to crop an image that fits certain elements well within the frame.
https://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/86267512-a4ca-4f48-b724-8a5d3a26e448-screen_shot_2024-11-26_at_11.47.01_pm.png
Added the ability to time each function through Python time utility functions & formatted print statements.
https://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/2502b407-9f38-49d9-80ed-429ce9e823ad-screen_shot_2024-11-26_at_12.09.06_pm.png
Started using OpenCV with Python to recognize images within other images (template matching)!
https://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/00734e4b-71bd-47e2-a903-82eedb52037b-screen_shot_2024-11-25_at_11.50.48_pm.png