Skip to content

Some kinda program for some kind of tank-like creation of mine with LEGO, the EV3Brick, and Python

License

Notifications You must be signed in to change notification settings

saurookadook/ev3-basically-a-tank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EV3 Brick Program - Basically-A-Tank

Overview

Some kinda program for some kind of tanky creation of mine with LEGO, the EV3Brick, and Python 🫠


General Dev

Versions

  • Python: 3.5.3
  • Poetry: 1.1.13 (only compatible with >=3.8.1)

To get your local environment setup, fun the following:

$ poetry config cache-dir ./.poetry-cache
$ poetry install

If you're using VS Code, you should additionally create a local .vscode folder with a settings.json file and add the following:

{
    "python.analysis.extraPaths": [
        // replace `ev3-basically-a-tank-aBCDEFGH-py3.8` with the name of the similarly-located folder from your local poetry cache directory
        "./.poetry-cache/virtualenvs/ev3-basically-a-tank-aBCDEFGH-py3.8/lib/python3.8/site-packages"
    ]
}

default password is maker

Printing to VS Code terminal:


Debugging Snippets

all_motors = list_devices("dc-motor", "*")

print(("-" * 30) + " all_motors " + ("-" * 30), file=sys.stderr)
    for motor in all_motors:
        print(motor, file=sys.stderr)
        motor_members = getmembers(motor)
        for member_tup in motor_members:
            name, value = member_tup
            print("name: {}".format(name), file=sys.stderr)
            print("value: {}".format(value), file=sys.stderr)

Quirks


Resources

About

Some kinda program for some kind of tank-like creation of mine with LEGO, the EV3Brick, and Python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages