{"id":17710840,"url":"https://github.com/saurookadook/ev3-basically-a-tank","last_synced_at":"2025-03-31T09:21:13.214Z","repository":{"id":132732733,"uuid":"600567780","full_name":"saurookadook/ev3-basically-a-tank","owner":"saurookadook","description":"Some kinda program for some kind of tank-like creation of mine with LEGO, the EV3Brick, and Python","archived":false,"fork":false,"pushed_at":"2024-08-10T16:21:46.000Z","size":998,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-06T13:48:47.317Z","etag":null,"topics":["ev3","ev3dev","ev3dev-lang-python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saurookadook.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-11T22:12:52.000Z","updated_at":"2023-08-26T17:44:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"b75d3e1f-c63e-4ce4-91a8-bf6bf9946802","html_url":"https://github.com/saurookadook/ev3-basically-a-tank","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saurookadook%2Fev3-basically-a-tank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saurookadook%2Fev3-basically-a-tank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saurookadook%2Fev3-basically-a-tank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saurookadook%2Fev3-basically-a-tank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saurookadook","download_url":"https://codeload.github.com/saurookadook/ev3-basically-a-tank/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246443534,"owners_count":20778252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ev3","ev3dev","ev3dev-lang-python"],"created_at":"2024-10-25T07:43:11.416Z","updated_at":"2025-03-31T09:21:13.184Z","avatar_url":"https://github.com/saurookadook.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EV3 Brick Program - Basically-A-Tank\n\n## Overview\n\nSome kinda program for some kind of tanky creation of mine with LEGO, the EV3Brick, and Python 🫠\n\n---\n\n## General Dev\n\n### Versions\n- Python: 3.5.3\n- Poetry: 1.1.13 (_only compatible with \u003e=3.8.1_)\n\nTo get your local environment setup, fun the following:\n\n```shell\n$ poetry config cache-dir ./.poetry-cache\n$ poetry install\n```\n\nIf you're using VS Code, you should additionally create a local `.vscode` folder with a `settings.json` file and add the following:\n```json\n{\n    \"python.analysis.extraPaths\": [\n        // replace `ev3-basically-a-tank-aBCDEFGH-py3.8` with the name of the similarly-located folder from your local poetry cache directory\n        \"./.poetry-cache/virtualenvs/ev3-basically-a-tank-aBCDEFGH-py3.8/lib/python3.8/site-packages\"\n    ]\n}\n```\n\n\n- [Connecting to EV3dev Using SSH](https://www.ev3dev.org/docs/tutorials/connecting-to-ev3dev-with-ssh/)\n\n```bash\n$ ssh robot@ev3dev.local\n```\n_default password is `maker`_\n\n\nPrinting to VS Code terminal:\n- https://github.com/ev3dev/ev3dev/issues/1307\n\n---\n\n### Debugging Snippets\n\n```python\nall_motors = list_devices(\"dc-motor\", \"*\")\n\nprint((\"-\" * 30) + \" all_motors \" + (\"-\" * 30), file=sys.stderr)\n    for motor in all_motors:\n        print(motor, file=sys.stderr)\n        motor_members = getmembers(motor)\n        for member_tup in motor_members:\n            name, value = member_tup\n            print(\"name: {}\".format(name), file=sys.stderr)\n            print(\"value: {}\".format(value), file=sys.stderr)\n\n\n```\n\n---\n\n### Quirks\n\n- https://stackoverflow.com/questions/57483794/python-shlex-no-closing-quotations-error-how-to-deal-with\n- [\\[Question\\] How can we ev3devBrowser.download.exclude multiple patterns? #104](https://github.com/ev3dev/vscode-ev3dev-browser/issues/104)\n    - **answer**: use `ev3devBrowser.download.exclude: \"GlobPattern\"` _(see [Glob-Patterns](https://github.com/ev3dev/vscode-ev3dev-browser/wiki/Glob-Patterns))_\n    - _suggested:_ `\"ev3devBrowser.download.exclude\": \"{**/.*/*,**/tests/*}\",`\n\n---\n\n### Resources\n\n- [ev3dev-lang-python](https://github.com/ev3dev/ev3dev-lang-python)\n- [python-ev3dev-testfs](https://github.com/pybricks/python-ev3dev-testfs)\n- [Mindstorms EV3 - Building Instructions](https://education.lego.com/en-us/product-resources/mindstorms-ev3/downloads/building-instructions)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaurookadook%2Fev3-basically-a-tank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaurookadook%2Fev3-basically-a-tank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaurookadook%2Fev3-basically-a-tank/lists"}