ENG101-EV3

command module
v0.0.0-...-26a2f20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

README

ENG101-EV3

ENG101 EV3 codebase. Build target is ARM on Linux (ev3dev), with https://github.com/ev3go/ev3dev used to read sensors and set motor outputs.

Requirements

Optional requirements
  • VSCode has run configurations included in the repository
  • make installed. Build configurations for make are included to hide cross-compilation difficulties

Build

The project can be built with "make ev3" or "GOOS=linux GOARCH=arm GOARM=5 go build ." if make is not installed.

Deployment

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.

Documentation

Overview

demo is a reimplementation of the Demo program loaded on new ev3 bricks, without sound. It demonstrates the use of the ev3dev Go API. The control does not make full use of the ev3dev API where it could.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL