Steps to install and build SOFA with soft robots from scratch on a fresh Ubuntu 18.04 virtual machine (windows host)
Naturally we start with update and installing git
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git
| Nodes = rand(15,3); | |
| Tetra = delaunay(Nodes); | |
| DataName='Testdata'; | |
| Data=ones(size(Tetra,1),1); | |
| %% ASCII - working | |
| fname='TetraAscii.vtk'; | |
| [np,dim]=size(Nodes); | |
| [nt]=size(Tetra,1); |
| %% read png and find countours | |
| % img=imread('ex_blob.png'); | |
| %% make pretend bitmap image | |
| img_size=512; | |
| img=zeros(img_size,img_size); | |
| % make two squares of different values |
| import sys | |
| import time | |
| import math | |
| sys.path.append("./Scripts") | |
| GUI_Module=__import__('Device_GUI') | |
| def FWR_read(input_mask, frequency=32, delay=0.5): | |
| set_frequency(frequency) | |
| GUI.write_register("AFE4300", "IQ_MODE_ENABLE", 0x00) #Select FWR Mode | |
| GUI.write_register("AFE4300", "ADC_CONTROL_REGISTER2", 0x63) #ADCREF to VREF / ADC connected to BCM |
add this to /etc/wpa_supplicant/wpa_supplicant.conf
network = {
ssid="eduroam"
key_mgmt=WPA-EAP IEEE8021X
eap=PEAP
identity="#####@ucl.ac.uk"
anonymous_identity="[email protected]"
Could install headless, but I wanted to use gui at first instance to ensure everything working!
Connect to wifi through GUI.
Change hostname and ensure SSH enabled in raspberrypi config GUI
change password with passwd .
Taken from here, add the following to the bottom of sudo nano /etc/dhcpcd.conf, changing ip addresses where appropriate