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

BIGGEST rover commit 😭️ #7

Open
wants to merge 29 commits into
base: main
Choose a base branch
from
Open

BIGGEST rover commit 😭️ #7

wants to merge 29 commits into from

Conversation

ROMANT21
Copy link
Member

No description provided.

@onkoe
Copy link
Member

onkoe commented Apr 13, 2024

image

main.py Outdated Show resolved Hide resolved
@onkoe
Copy link
Member

onkoe commented Apr 18, 2024

to get dependencies with Rye, do rye init --no-import --py 3.10 && rm -rfd src/, then copy in this pyproject.toml file:

[project]
name = "autonomous"
version = "0.1.0"
description = "Add your description here"
authors = [{ name = "Barrett", email = "[email protected]" }]
dependencies = ["opencv-python>=4.7", "flask>=2.3.2", "loguru>=0.7.2"]
readme = "README.md"
requires-python = ">= 3.10"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.rye]
managed = true
dev-dependencies = ["mypy>=1.8.0", "ruff>=0.2.0"]

[tool.hatch.metadata]
allow-direct-references = true

[tool.hatch.build.targets.wheel]
packages = ["./"]

and rye sync :)

@onkoe
Copy link
Member

onkoe commented Apr 18, 2024

lmk if any of these go too far and i'll revert it

tried to keep things minimal though :3

accidentally stuck that return before all those calculations.

oopsie :)
...we removed the ARUCO tag YOLO like a year ago lol
otherwise, this can be an infinite loop (as accessing the camera can prevent the system from doing so to further initialize it)
we had an error that was like:

```python3
import Drive
from Drive import Drive
```

For reasons like this, it's super important to follow the spec for langs that prefer runtime checks...
@onkoe
Copy link
Member

onkoe commented Apr 20, 2024

CI passes so officially, we've won

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants