Skip to content

oresat/oresat-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oresat-simulator

The goal is to receive data (the outputs from a Basilisk simulation or similar) repeatedly via socket and then transmit that data repeatedly over serial port to the Helmholtz Cage and Solar Simulator.

sock_ser_model contains the current server/client model.

Dependencies Installation

pyserial

Install with: pip install pyserial might work If cannot run this as root, you'll need to install it system-wide with your package manager. On Debian: "sudo apt install python3-pyserial"

Running the server and client

You should install GTK Terminal or the equivalent and open it with sudo: For me using GTK: sudo gtkterm -p /dev/ttyUSB1

Open s2s_server.py: sudo ./s2s_server.py -IP [IP Address, default is 127.0.0.1]

Open s2s_client.py: ./s2s_client.py -IP [IP Address, default same as above]

When using two computers, use -IP [the IP address of the computer running the server]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages