Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an image of the scouted robot to scouting app #41

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
107f50d
add placeholder images make robotimage file
00magikarp Jul 20, 2024
d0315b3
image shows up
00magikarp Jul 21, 2024
5fad031
create empty image property
00magikarp Jul 22, 2024
3c46c8a
get robot number properly (doesn't reload)
00magikarp Jul 22, 2024
b5a06cf
make alt text function, rename to gray.png
00magikarp Jul 22, 2024
9b1015c
add get images from tba functionality
Shilab66 Jul 22, 2024
9c1cec2
Merge branch 'feat-robotpictures' of https://github.com/team4099/Falc…
Shilab66 Jul 22, 2024
930b3ea
add folder for images
Shilab66 Jul 22, 2024
2f01def
change getimages to be py
00magikarp Jul 22, 2024
21d629c
Merge remote-tracking branch 'origin/feat-robotpictures' into feat-ro…
00magikarp Jul 22, 2024
6f51aa7
fetch teams will work, create (not done) scrape robot image function
00magikarp Jul 23, 2024
88937b8
auto update robot picture every 500ms
00magikarp Jul 23, 2024
12f6c7c
remove extra button no 🧢
00magikarp Jul 23, 2024
7436aed
imgur request returns 200 but img not receiving properly
00magikarp Jul 23, 2024
3fc408d
show gray placeholder image when no number inputted, change alt text
00magikarp Jul 24, 2024
eb95e5c
getImages.py works 🥳🥳🥳
00magikarp Jul 24, 2024
5166553
create requirements file
00magikarp Jul 24, 2024
5813db7
document
00magikarp Jul 24, 2024
5908ee0
imgur works + create image errors txt
00magikarp Jul 24, 2024
cc81165
add tba image
Shilab66 Jul 24, 2024
fa63bee
redesign get images to work from tba, accepts imgur and insta
00magikarp Jul 24, 2024
edb3274
fix paths in getImagesTBA.py file
00magikarp Jul 25, 2024
3e1b04e
cleanup
00magikarp Jul 25, 2024
f28024b
remove extra file
00magikarp Jul 26, 2024
f618468
remove placeholder from robotimage, discrepancy from getImagesTBA
00magikarp Jul 27, 2024
8edf15e
Added Dev Container Folder
Shilab66 Oct 18, 2024
d04c12d
Fixed robot image errors
CodingMaster121 Oct 19, 2024
19e9a8f
Changed config file
CodingMaster121 Oct 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "Python 3",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye",
"customizations": {
"codespaces": {
"openFiles": [
"README.md",
"falconscoutcore/app.py"
]
},
"vscode": {
"settings": {},
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance"
]
}
},
"updateContentCommand": "[ -f packages.txt ] && sudo apt update && sudo apt upgrade -y && sudo xargs apt install -y <packages.txt; [ -f requirements.txt ] && pip3 install --user -r requirements.txt; pip3 install --user streamlit; echo '✅ Packages installed and Requirements met'",
"postAttachCommand": {
"server": "streamlit run falconscoutcore/app.py --server.enableCORS false --server.enableXsrfProtection false"
},
"portsAttributes": {
"8501": {
"label": "Application",
"onAutoForward": "openPreview"
}
},
"forwardPorts": [
8501
]
}
8 changes: 4 additions & 4 deletions falconscoutcore/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@
"IntakingSpeed",
"EndgameGeneralNotes"
],
"json_file": "./data/2024cur_match_data.json",
"qualitative_json_file": "./data/2024cur_qualitative_data.json",
"json_file": "./data/2024bob_match_data.json",
"qualitative_json_file": "./data/2024bob_qualitative_data.json",
"error_json": "./data/errors.json"
},
"repo_config": {
"repo": "team4099/ScoutingAppData",
"update_json": "2024cur_match_data.json",
"update_qualitative_json": "2024cur_qualitative_data.json"
"update_json": "2024bob_match_data.json",
"update_qualitative_json": "2024bob_qualitative_data.json"
}
}
File renamed without changes.
Loading
Loading