- Custom Development
This document outlines the steps to installing the Dephy Actuator Package (ActPack) scripts on a brand-new Raspberry Pi 4 (RPi4).
sudo apt update df -h # To check available free disk space sudo apt full-upgrade # Make sure you have sufficient free disk space sudo apt clean # Remove downloaded packages from /var/cache/apt/archives df -h # Note additional space freed-up
git clone https://github.com/DephyInc/Actuator-Package
python3 --version ==> Python 3.7.3 cd Actuator-Package/Python pwd ==> /home/pi/Actuator-Package/Python
dmesgcommand. Look at the end for a new USB device. Ex.: ttyACM0.
Actuator-Package/Python/flexseapython/com_template.txtto a file named
The Python Interface page has all the information regarding normal operation. Some RPi4 specifics need to be mentioned:
python3 -m pip install scipy). numpy, matplotlib and tornado were already installed and up to date.
sudo apt-get install libatlas-base-dev
If you do not want to dedicate a monitor, mouse and keyboard to your Pi (or use a switch) you have the options of using SSH. It only takes a minute to setup.
Follow the official instructions: SSH (Secure Shell) - Raspberry Pi Documentation. All you have to do is enable SSH.
On a terminal call
hostname -I and write down the IP address.
Open Power Shell and type
ssh pi@<IP> where <IP> is the address you wrote down in the previous step. Enter your password, and that's it.
You can use the same command in Git Bash. It seems to provide a less flickery display.