This guide is for setting up WebControl on Raspberry Pi using @johnboiles disk image.
command = text to enter at the command prompt
[key] = hit the keyboard key with the text displayed
Download the disk image to your computer:
Connect Rapberry Pi
3.1 Insert the SD card into the Raspberry Pi
3.2 Connect HDMI video cable
3.3 Connect keyboard and mouse
3.4 Connect Ethernet cable
3.5 Plug in the USB cable from the Maslow control board to the Raspberry Pi.
4.1 Power on the Raspberry Pi and wait for login prompt
4.2 Login using default credentials
4.2.1 Login: pi
4.2.2 Password: raspberry
Setup Raspberry Pi:
Use Cursor keys to navigate, [Tab] to cycle through prompts, [Space] to change options. [Enter] to execute selected prompt.
5.1 At the command prompt enter: sudo raspi-config [Enter]
5.1.1 Configure Localization option (not needed if in default UK).
126.96.36.199 Select ‘Change Locale’. USA users should select “en_US.UTF-8 UTF8” using [spacebar] to highlight it. Unselect “en_GB.UTF-8 UTF-8”. [Tab] to ‘OK’ prompt and hit [Enter].
188.8.131.52 ‘Select Debian default locale’ . USA users choose ‘en_US.UTF-8’. [Tab] to ‘OK’ prompt and hit [Enter].
5.1.2 ‘Network Options’ - Select ‘Wi-fi’. Select your country: e.g. US. Enter your SSID (Wifi name) and passphase.
5.1.3 ‘Interfacing Options’ - Select ‘SSH’ and select ‘Yes’ to enable if you plan on using the Rpi without a monitor.
5.1.4 Select ‘Finish’ and hit [Enter] to save.
6.1 Enter ip addr show [Enter] at command prompt.
6.2 Look at ‘wlan0’ (for wifi) or ‘eth0’ (for ethernet cable) and check for IP address. e.g 192.168.1.110. Jot this down for later.
6.3 Enter ping -c 4 google.com [Enter]. You should get four responses ending with ping time. Your network is working. If you get ‘Request timeout’ then something is wrong with network config.
Wait for WebControl to download.
If networking is working then Webcontrol will start downloading the Docker image. This can take a while (~15 mins) depending on your connection.
7.1 You can enter top [Enter] at the command prompt to see a list of current processes. You should see a ‘Docker’ process running at the top. It will appear and disappear. When ‘Python’ process starts then everything has completed. Hit [Q] to exit out of ‘Top’.
Connect to WebControl
8.1. On your computer/tablet/phone open a browser and go to http://maslowpi.local:5001.
8.2 If that does not work then use the IP address from earlier e.g. http://192.168.1.110:5001
You should see the WebMCP control page.
8.3 The main Webcontrol UI is on port 5000. http://maslowpi.local:5000
Upload GroundControl.ini file (if you have one).
On WebControl page select "Action’ on the menu, then ‘Import Groundcontrol.ini File’. Select the file on your computer and click ‘Submit’.
Enable z-axis (optional)
Click ‘Setting’ -> 'Maslow Setting. Scroll down to ‘Z-axis installed’ and click on the toggle to enable it.