ENG101 EV3 codebase. Build target is ARM on Linux (ev3dev), with https://github.com/ev3go/ev3dev used to read sensors and set motor outputs.
- ev3dev enabled EV3 mindstorms brick. Information on setting up exist in the ev3dev documentation pages
- go compiler
- VSCode has run configurations included in the repository
make
installed. Build configurations for make are included to hide cross-compilation difficulties
The project can be built with
"make ev3
"
or
"GOOS=linux GOARCH=arm GOARM=5 go build .
"
if make is not installed.
The project can be deployed to the EV3 with "make install
". It requires ev3dev.local to resolve to an accessible IP of the ev3.
Alternatively, the compiled executable can be manually copied to the brick using "scp ENG101-EV3 robot@ev3dev.local:
". The ev3dev documentation has more information on this and how to connect the EV3 to the internet.