STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
combined_fsw_gui.py File Reference

Go to the source code of this file.

Classes

class  combined_fsw_gui.PacketType
class  combined_fsw_gui.SystemState
class  combined_fsw_gui.ConfigManager
class  combined_fsw_gui.UDPReceiver
class  combined_fsw_gui.ElodinPacketType
class  combined_fsw_gui.ElodinPacketHeader
class  combined_fsw_gui.ElodinClient
class  combined_fsw_gui.PressureBarWidget
class  combined_fsw_gui.TopBarWidget
class  combined_fsw_gui.StateMachineWidget
class  combined_fsw_gui.SensorPlotWidget
class  combined_fsw_gui.ActuatorControlWidget
class  combined_fsw_gui.CombinedFSWMainWindow

Namespaces

namespace  combined_fsw_gui

Functions

 combined_fsw_gui.get_num_actuators ()
float combined_fsw_gui.calculate_pressure (float adc_code, float PT_A, float PT_B, float PT_C, float PT_D)
Dict[int, Tuple[float, float, float, float]] combined_fsw_gui.load_pt_calibration_csv (str csv_path)
Dict[int, Tuple[float, float, float, float]] combined_fsw_gui.load_pt_calibration_json (str json_path)
Dict[int, Tuple[float, float, float, float]] combined_fsw_gui.load_pt_calibration ()
 combined_fsw_gui.main ()

Variables

int combined_fsw_gui.MAX_PACKET_SIZE = 512
int combined_fsw_gui.NUM_SENSORS = 10
int combined_fsw_gui.UPDATE_INTERVAL_MS = 50
float combined_fsw_gui.DEFAULT_WINDOW_SECONDS = 40.0
int combined_fsw_gui.MAX_POINTS = 10000
str combined_fsw_gui.DEFAULT_ACTUATOR_IP = "192.168.2.201"
str combined_fsw_gui.DEFAULT_SENSOR_IP = "192.168.2.101"
int combined_fsw_gui.DEFAULT_ACTUATOR_PORT = 5005
int combined_fsw_gui.DEFAULT_RECEIVE_PORT = 5006
str combined_fsw_gui.DEFAULT_BIND_ADDRESS = "0.0.0.0"
 combined_fsw_gui.PT_CALIBRATION_CSV
str combined_fsw_gui.CALIBRATION_JSON_DIR = Path(__file__).parent.parent / "calibration" / "calibrations"
str combined_fsw_gui.PACKET_HEADER_FORMAT = "<BBI"
int combined_fsw_gui.PACKET_HEADER_SIZE = 6
str combined_fsw_gui.SENSOR_DATA_PACKET_FORMAT = "<BB"
int combined_fsw_gui.SENSOR_DATA_PACKET_SIZE = 2
str combined_fsw_gui.SENSOR_DATA_CHUNK_FORMAT = "<I"
int combined_fsw_gui.SENSOR_DATA_CHUNK_SIZE = 4
str combined_fsw_gui.SENSOR_DATAPOINT_FORMAT = "<BI"
int combined_fsw_gui.SENSOR_DATAPOINT_SIZE = 5
list combined_fsw_gui.SENSOR_COLORS
str combined_fsw_gui.CONFIG_FILE = Path(__file__).parent / "fsw_gui_config.json"
tuple combined_fsw_gui._STATE_MACHINE_CSV
 combined_fsw_gui.CONFIG = ConfigManager()