Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.3 KB

README.rst

File metadata and controls

49 lines (31 loc) · 1.3 KB

Python Bowie Console

This is a flask server that provides a simple web UI to control Bowie's functions.

Components

  • Flask
  • AngularJS
  • AngularMaterial

Current Status

This UI simply provides buttons and a switch for binary functions, a joystick for driving and a video area that contains a still image for now. The serial communication needs more work, but packets should be sent properly. Incomming serial data is not handled yet.

Raspberry Pi 3

The intended platform is running on a Raspbery Pi 3 w/ Raspbian Stretch.

Boot raspbian, run pisetup and enable ssh and camera, save, reboot. After it reboots, configure wifi, then start a terminal and install the console.

$ sudo -s

$ git clone https://github.com/RobotMissions/PyBowieConsole.git

$ cd PyBowieConsole

$ python3 setup.py install

to run the server

$ run.sh

AdHoc Network

The config directory contains interfaces.adhoc. To switch from configured WiFi, run these commands:

$ cp /etc/network/interfaces /etc/network/interfaces.bak

$ cp config/interfaces.adhoc /etc/network/interfaces

$ service networking restart

Now, you'll have to put a machine on the same subnet, like IP: 10.10.10.2, Subnet: 255.255.255.0 and you should be able to ssh to pi@10.10.10.1