This will be run on the ophiuchius machine
First build the onboard server service
docker compose -f onboard-server-compose.yml up --buildCreate systemd service file for the onboard server
cp ./onboard-server.service /etc/systemd/system/onboard-server.serviceReload systemd and Enable the Service
sudo systemctl daemon-reload
sudo systemctl start onboard-server.service
sudo systemctl enable onboard-server.serviceVerify the Service
sudo systemctl status onboard-server.serviceThis will be run on the perseus machine
To run the command module and an openmct interface, run the following, where onboard.server.ip is replaced with the actual IP address of the onboard server.
ONBOARD_SERVER_IP=onboard.server.ip docker compose -f command-compose.yml upThen navigate to the link (http://localhost/8080) to view the openmct, and interact with the terminal to send commands. You can type help in the terminal to view the list of commands.
This will be used on the ophiuchius and saggitarius machines
To interact with the onboard server from python code, view the instructions ./bcp-redis-client/python/.
Using C code, you must install the library ./bcp-redis-client/c/.