RobInLabUJI / NXT-Colab

Colab notebooks for programming LEGO Mindstorms NXT in Python 3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NXT-Colab

Colab notebooks for programming LEGO Mindstorms NXT in Python 3.

The code consists of Jupyter notebooks hosted in Google Colaboratory but running locally in a laptop or desktop computer with Ubuntu Linux 20.04 that communicates with the robots via Bluetooth.

The NXT is running its standard firmware.

Prerequisites - Ubuntu 20.04

Setup

Run the install script:

./script/install.bash

Activate Bluetooth and pair your robot and computer:

./script/pair.bash

The script launches bluetoothctl. Use the command scan on for finding your device, then use pair <mac_address> for pairing it.

Usage

NXT

Switch it on, that's all!

Computer

Run the script ./script/run.bash in the root folder, and enjoy!

About

Colab notebooks for programming LEGO Mindstorms NXT in Python 3

License:MIT License


Languages

Language:Jupyter Notebook 89.1%Language:Python 9.9%Language:Shell 1.0%