Project Info
Inspiration
I wrote my college application essays on Boston Dynamics. When I saw Spot, I was a little kid again with a bright mind and an innocent smile. However, I didn't know what I wanted to build exactly, until I noticed the infinite supply of QR Codes around me!
What it does
Spot utilizes a graph search algorithm to find a QR code in its environment. On detection, Spot gallops the entire distance (depth-perception) to the target. If Spot overcommited and got too close to the target, it flees the scene as a dog usually would!
How we built it
I used Merklebot's abstraction and frameworks to run my code on Spot. I utilized a depth-perception algorithm that estimates how far an object is in the environment. The robot would search for the QR code, and once it found it, it would dash at the qr code. If it lost the target, it would commence search again. Search is based on DFS for simplicty. However, it can easily be changed to a more sophisticated algorithm, such as A*, for instance.
Challenges we ran into
It is a difficult task to get the search to work. Additionally, it's very tedious to get live data from the robot for analytics and debugging. Managing Spot necessitated high-quality code, so the robot doesn't damage anything, which was a strenuous task.
Accomplishments we're proud of
I actually worked with Spot and did something!!!!!
What we learned
Murphy's Law exists for a reason. I should be better at estimating the breadth of projects.
What's next
for Untitled Add a particle filtering sampling algorithm that listens on the microphone, and can detect where targets might be based on a sound they exhibit. This can be incorporated in an A* algorithm as its heuristic. Play hide-and-seek!
This image contains basic commands to work with camera, microphone and speaker at Spot's computer
Image link
Image link could be acquired in packages section of the main repository page
How to use
The container for this image should be runned with flags --device /dev/video0 and --device /dev/snd.
Also, environmental varialbes -e SDL_AUDIODRIVER='alsa', -e AUDIODEV='hw:1,0', -e AUDIO_INPUT_DEVICE='hw:2,0' shoud be added.
Basic example contained in main.py
Analysis
View
Metric
No commits on this project resolved to a GitHub account.
Technology
- PythonIn code
1 of 1 appear in the indexed code.
AI coding agents
No AI coding agent signals were found in this repository.
Detected from committed agent config files and commit authorship. Absence of a signal is not proof an agent was unused.
Codebase size
Source size
19 KB
Source files
4
Counts recognized source files only; vendored directories, binaries and lockfiles are excluded, so this is smaller than the repository on disk.
Repository
ahmed-k-aly/hackathon-spot
7 files · 19 KB · @ 46ab4fd
Structure
Application logic
2 files · 29%Domain rules, services and shared utilities.
Supporting
Layers are inferred from where files sit in the tree, not from reading the code. A project that names its directories unconventionally will read oddly here — open the file browser to check anything the diagram implies.
Languages
- Python92%
- YAML6%
- Markdown3%
Share of indexed source by file size. Binary and vendored files are excluded.
Dependencies
requirements.txt
pypi · 1- gTTS
Declared in the repository’s manifests at the indexed commit. A declared package is not proof it is used, and runtime dependencies are listed first.
This project’s features have not been analysed yet.
Export this project's context (description, README, evidence, key source files) to chat with an AI agent elsewhere.