This package contains a server for use with the circuit boards and PC client from the pyedurov2 project, and the ROV chassis described on the EduROV webpage.
- To install, run
pip install pyedurov2
.- If you got the warning
The script normalizer is installed in * which is not on PATH.
, callsource ~/.profile
.
- If you got the warning
- To run the server, run
pyedurov2
. - To start the server at boot, run
pyedurov2 --runatstartup
. - See
pyedurov2 --help
foor more options.
Make sure the newest version of pip is installed: pip install --upgrade build
Then from the edurov_server folder, run python -m build
- Install Raspberry PI OS (32-bit), for example via Raspberry Pi Imager
- In SD card, add the file "ssh", it should be empty.
- Insert sd card to raspberry pi
- Connect via ssh to raspberrypi.local
- Via raspi-config:
- Under Interface Options
- Enable camera
- Enable Serial Port:
- We do not want a login shell to be available.
- We do want the serial port hardware to obe enabled.
- Allow the raspberry pi to restart and reconnect the ssh session.
- Under Interface Options
- For pyedurov2 to run at startup, we'll need to install and run it as sudo.
- Install pyedurov2 with
sudo pip install pyedurov2
- Call
sudo pyedurov2 --runatstartup --name=yourname
to set server to start at boot with "yourname" as the advertising name.