|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Public Member Functions | |
| __init__ (self, receiver, str bind_address="0.0.0.0", parent=None) | |
| str | format_label_two_rows (self, str text) |
| on_sensor_label_changed (self, int connector_id, str text) | |
| update_plot_legend (self, int connector_id) | |
| init_ui (self) | |
| init_connector_plots (self) | |
| reload_pt_calibration (self) | |
| zero_pts (self) | |
| clear_pt_zeros (self) | |
| open_debug_menu (self) | |
| on_auto_scale_toggled (self, state) | |
| on_demo_mode_toggled (self, state) | |
| update_buffer_size (self) | |
| on_graph_moving_avg_changed (self, value) | |
| on_display_moving_avg_changed (self, value) | |
| float | code_to_voltage (self, int code_uint32) |
| on_navigation_requested (self, str target) | |
| on_status_update (self, str message) | |
| on_packet_received (self, int packet_size, int packet_type) | |
| on_sensor_data (self, dict header, List[dict] chunks, str source_ip) | |
| add_sensor_plot (self, int sensor_id) | |
| update_plots (self) | |
| update_statistics (self) | |
| save_pressures_csv (self) | |
| save_events_csv (self) | |
Protected Member Functions | |
| _on_plot_toggle (self, int connector_id, state) | |
| _clear_all_sensor_deques (self) | |
| _apply_demo_mode (self, bool enabled) | |
| _send_demo_packet (self) | |
Protected Attributes | |
| _send_demo_packet | |
Reusable sensor/PT plotting panel. Used in SensorPlotWindow and CombinedMainWindow.
Definition at line 1207 of file combined_gui.py.
| combined_gui.SensorPlotWidget.__init__ | ( | self, | |
| receiver, | |||
| str | bind_address = "0.0.0.0", | ||
| parent = None ) |
|
protected |
Apply demo mode state change (called via QTimer to avoid Wayland crashes).
Definition at line 1653 of file combined_gui.py.
References _clear_all_sensor_deques(), demo_mode, demo_send_socket, demo_send_timer, demo_start_time, actuator_testing_gui.ActuatorTestingWindow.status_label, status_label, lc_calibration_gui.LCPlotWindow.status_label, pt_multi_gui.PTPlotWindow.status_label, and time.time().
Referenced by on_demo_mode_toggled().
|
protected |
Clear all sensor data deques so plot/stats show only new data.
Definition at line 1633 of file combined_gui.py.
References plot_buffer_size, sensor_adc_codes, sensor_data, pt_multi_gui.PTPlotWindow.sensor_data, sensor_psi_history, sensor_psi_plot_t, and sensor_psi_plot_v.
Referenced by _apply_demo_mode().
|
protected |
Definition at line 1612 of file combined_gui.py.
References actuator_testing_gui.ActuatorTestingWindow.plot_enabled, plot_enabled, pt_multi_gui.PTPlotWindow.plot_enabled, and under_graph_containers.
|
protected |
Build and send one demo UDP packet to localhost (called by demo timer).
Definition at line 1815 of file combined_gui.py.
References demo_mode, demo_send_socket, demo_start_time, pt_calibration, actuator_testing_gui.ActuatorTestingWindow.receiver, anonymous_namespace{idle_e2e.cpp}::World.receiver, receiver, lc_calibration_gui.LCPlotWindow.receiver, pt_multi_gui.PTPlotWindow.receiver, stats_start_time, lc_calibration_gui.LCPlotWindow.stats_start_time, and pt_multi_gui.PTPlotWindow.stats_start_time.
| combined_gui.SensorPlotWidget.add_sensor_plot | ( | self, | |
| int | sensor_id ) |
Add a new sensor plot (for calibrated sensors only)
Definition at line 1839 of file combined_gui.py.
References legend, gui.App.legend, lc_calibration_gui.LCPlotWindow.legend, pt_multi_gui.PTPlotWindow.legend, actuator_testing_gui.ActuatorTestingWindow.plot_enabled, plot_enabled, pt_multi_gui.PTPlotWindow.plot_enabled, plot_item, pt_multi_gui.PTPlotWindow.plot_item, sensor_labels, sensor_plots, and pt_multi_gui.PTPlotWindow.sensor_plots.
Referenced by init_connector_plots(), on_sensor_data(), and reload_pt_calibration().
| combined_gui.SensorPlotWidget.clear_pt_zeros | ( | self | ) |
Clear all PT zero offsets (restore raw calibration output).
Definition at line 1608 of file combined_gui.py.
References pt_offsets.
| float combined_gui.SensorPlotWidget.code_to_voltage | ( | self, | |
| int | code_uint32 ) |
Convert raw ADC code to voltage. code_uint32: uint32_t representation of the ADC code Returns: voltage in Volts
Definition at line 1708 of file combined_gui.py.
References adc_bits, reference_voltage, SensorHotfire::StoredSensorConfig.reference_voltage, and SensorSM::StoredConfig.reference_voltage.
Referenced by on_sensor_data(), and solenoid_characterization_gui.SolenoidCharacterizationWindow.on_sensor_data().
| str combined_gui.SensorPlotWidget.format_label_two_rows | ( | self, | |
| str | text ) |
Format label text to always be two words, one per row. Splits text into words and ensures exactly two words on separate lines.
Definition at line 1326 of file combined_gui.py.
References split().
| combined_gui.SensorPlotWidget.init_connector_plots | ( | self | ) |
Pre-initialize plots for all 10 connectors
Definition at line 1549 of file combined_gui.py.
References add_sensor_plot(), plot_buffer_size, pt_calibration, sensor_adc_codes, sensor_data, pt_multi_gui.PTPlotWindow.sensor_data, sensor_psi_history, sensor_psi_plot_t, and sensor_psi_plot_v.
| combined_gui.SensorPlotWidget.init_ui | ( | self | ) |
Initialize the user interface
Definition at line 1389 of file combined_gui.py.
| combined_gui.SensorPlotWidget.on_auto_scale_toggled | ( | self, | |
| state ) |
Handle auto-scale Y-axis toggle
Definition at line 1622 of file combined_gui.py.
References y_axis_auto_scale.
| combined_gui.SensorPlotWidget.on_demo_mode_toggled | ( | self, | |
| state ) |
Handle Demo mode checkbox: toggle demo_mode, start/stop UDP sender, clear deques. Uses QTimer.singleShot to defer state changes to avoid Wayland buffer size mismatch crashes when the window is maximized (xdg_surface buffer error).
Definition at line 1644 of file combined_gui.py.
References _apply_demo_mode().
| combined_gui.SensorPlotWidget.on_display_moving_avg_changed | ( | self, | |
| value ) |
Handle display moving average window size change
Definition at line 1704 of file combined_gui.py.
References display_moving_avg_samples.
| combined_gui.SensorPlotWidget.on_graph_moving_avg_changed | ( | self, | |
| value ) |
Handle graph moving average window size change
Definition at line 1700 of file combined_gui.py.
References graph_moving_avg_samples.
| combined_gui.SensorPlotWidget.on_navigation_requested | ( | self, | |
| str | target ) |
Handle navigation requests from TopBarWidget
Definition at line 1726 of file combined_gui.py.
References combined_gui.ActuatorControlWidget.open_pwm_control(), combined_gui.ActuatorControlWidget.open_pwm_control, and combined_gui.CombinedMainWindow.open_pwm_control().
| combined_gui.SensorPlotWidget.on_packet_received | ( | self, | |
| int | packet_size, | ||
| int | packet_type ) |
Handle packet received notification
Definition at line 1740 of file combined_gui.py.
| combined_gui.SensorPlotWidget.on_sensor_data | ( | self, | |
| dict | header, | ||
| List[dict] | chunks, | ||
| str | source_ip ) |
Handle received sensor data
Definition at line 1744 of file combined_gui.py.
References add_sensor_plot(), combined_gui.calculate_pressure(), code_to_voltage(), demo_mode, filter_source_ip, plot_buffer_size, pt_calibration, pt_offsets, sensor_adc_codes, sensor_data, pt_multi_gui.PTPlotWindow.sensor_data, sensor_psi_history, sensor_psi_plot_t, sensor_psi_plot_v, stats_start_time, lc_calibration_gui.LCPlotWindow.stats_start_time, pt_multi_gui.PTPlotWindow.stats_start_time, time.time(), and total_samples_received.
| combined_gui.SensorPlotWidget.on_sensor_label_changed | ( | self, | |
| int | connector_id, | ||
| str | text ) |
Update local sensor label and plot legend (config is written via set_sensor_role in settings).
Definition at line 1350 of file combined_gui.py.
References sensor_labels.
| combined_gui.SensorPlotWidget.on_status_update | ( | self, | |
| str | message ) |
Handle status updates from receiver thread
Definition at line 1735 of file combined_gui.py.
References demo_mode, actuator_testing_gui.ActuatorTestingWindow.status_label, status_label, lc_calibration_gui.LCPlotWindow.status_label, and pt_multi_gui.PTPlotWindow.status_label.
| combined_gui.SensorPlotWidget.open_debug_menu | ( | self | ) |
Open the debug popup showing C1, MA, psi per connector.
Definition at line 1617 of file combined_gui.py.
| combined_gui.SensorPlotWidget.reload_pt_calibration | ( | self | ) |
Reload PT calibration from config paths (e.g. after user changes CSV in settings).
Definition at line 1565 of file combined_gui.py.
References add_sensor_plot(), combined_gui.load_pt_calibration(), main_window_ref, plot_buffer_size, pt_calibration, pt_calibration_error, sensor_psi_history, sensor_psi_plot_t, sensor_psi_plot_v, actuator_testing_gui.ActuatorTestingWindow.update_plots, update_plots, pt_multi_gui.PTPlotWindow.update_plots, update_statistics, lc_calibration_gui.LCPlotWindow.update_statistics, and pt_multi_gui.PTPlotWindow.update_statistics.
| combined_gui.SensorPlotWidget.save_events_csv | ( | self | ) |
Save events (mode button clicks and actuator state changes) to CSV file.
Definition at line 2216 of file combined_gui.py.
References main_window_ref.
| combined_gui.SensorPlotWidget.save_pressures_csv | ( | self | ) |
Save pressure data to CSV file, respecting only_show_pt_with_roles setting.
Definition at line 2080 of file combined_gui.py.
References only_show_pt_with_roles, pt_offsets, sensor_labels, and sensor_psi_history.
| combined_gui.SensorPlotWidget.update_buffer_size | ( | self | ) |
Update plot buffer size based on current window_seconds.
Definition at line 1682 of file combined_gui.py.
References plot_buffer_size, sensor_psi_plot_t, sensor_psi_plot_v, actuator_testing_gui.ActuatorTestingWindow.window_seconds, window_seconds, gui.App.window_seconds, lc_calibration_gui.LCPlotWindow.window_seconds, and pt_multi_gui.PTPlotWindow.window_seconds.
| combined_gui.SensorPlotWidget.update_plot_legend | ( | self, | |
| int | connector_id ) |
Update the legend for a specific sensor plot
Definition at line 1369 of file combined_gui.py.
References sensor_labels, sensor_plots, and pt_multi_gui.PTPlotWindow.sensor_plots.
| combined_gui.SensorPlotWidget.update_plots | ( | self | ) |
Update all sensor plots (PSI data for calibrated sensors only)
Definition at line 1867 of file combined_gui.py.
References graph_moving_avg_samples, max, min, only_show_pt_with_roles, actuator_testing_gui.ActuatorTestingWindow.plot_enabled, plot_enabled, pt_multi_gui.PTPlotWindow.plot_enabled, plot_item, pt_multi_gui.PTPlotWindow.plot_item, sensor_labels, sensor_plots, pt_multi_gui.PTPlotWindow.sensor_plots, sensor_psi_plot_t, sensor_psi_plot_v, sps_text_item, stats_start_time, lc_calibration_gui.LCPlotWindow.stats_start_time, pt_multi_gui.PTPlotWindow.stats_start_time, time.time(), actuator_testing_gui.ActuatorTestingWindow.window_seconds, window_seconds, gui.App.window_seconds, lc_calibration_gui.LCPlotWindow.window_seconds, pt_multi_gui.PTPlotWindow.window_seconds, y_axis_auto_scale, y_axis_max, and y_axis_min.
Referenced by smart_calibration_gui.SmartCalibrationGUI.update_gui().
| combined_gui.SensorPlotWidget.update_statistics | ( | self | ) |
Update statistics display
Definition at line 1995 of file combined_gui.py.
References last_sps_sample_count, last_sps_time, gui.App.last_sps_time, lc_calibration_gui.LCPlotWindow.last_sps_time, network_stats, actuator_testing_gui.ActuatorTestingWindow.receiver, anonymous_namespace{idle_e2e.cpp}::World.receiver, receiver, lc_calibration_gui.LCPlotWindow.receiver, pt_multi_gui.PTPlotWindow.receiver, time.time(), and total_samples_received.
Referenced by smart_calibration_gui.SmartCalibrationGUI.update_gui().
| combined_gui.SensorPlotWidget.zero_pts | ( | self | ) |
Zero all PTs: capture current PSI reading for each calibrated sensor and store as offset.
Definition at line 1595 of file combined_gui.py.
References combined_gui.calculate_pressure(), display_moving_avg_samples, min, pt_calibration, pt_offsets, and sensor_adc_codes.
|
protected |
Definition at line 1663 of file combined_gui.py.
| int combined_gui.SensorPlotWidget.adc_bits = 32 |
Definition at line 1221 of file combined_gui.py.
Referenced by code_to_voltage(), and solenoid_characterization_gui.SolenoidCharacterizationWindow.code_to_voltage().
| combined_gui.SensorPlotWidget.auto_scale_checkbox = QtWidgets.QCheckBox("Auto-scale Y-axis") |
Definition at line 1408 of file combined_gui.py.
| combined_gui.SensorPlotWidget.bind_address = bind_address |
Definition at line 1213 of file combined_gui.py.
Referenced by combined_fsw_gui.UDPReceiver.run(), sense_testing_gui.UDPReceiver.run(), and solenoid_characterization_gui.UDPReceiver.run().
| combined_gui.SensorPlotWidget.current_sps_display = sps |
Definition at line 2029 of file combined_gui.py.
| dict combined_gui.SensorPlotWidget.debug_values = {} |
Definition at line 1267 of file combined_gui.py.
| bool combined_gui.SensorPlotWidget.demo_mode = False |
Definition at line 1304 of file combined_gui.py.
Referenced by _apply_demo_mode(), _send_demo_packet(), on_sensor_data(), and on_status_update().
| Optional[socket.socket] combined_gui.SensorPlotWidget.demo_send_socket = None |
Definition at line 1306 of file combined_gui.py.
Referenced by _apply_demo_mode(), and _send_demo_packet().
| Optional[QtCore.QTimer] combined_gui.SensorPlotWidget.demo_send_timer = None |
Definition at line 1307 of file combined_gui.py.
Referenced by _apply_demo_mode().
| Optional[float] combined_gui.SensorPlotWidget.demo_start_time = None |
Definition at line 1305 of file combined_gui.py.
Referenced by _apply_demo_mode(), and _send_demo_packet().
| int combined_gui.SensorPlotWidget.display_moving_avg_samples = 10 |
Definition at line 1215 of file combined_gui.py.
Referenced by on_display_moving_avg_changed(), and zero_pts().
| combined_gui.SensorPlotWidget.filter_source_ip = DEFAULT_SENSOR_IP |
Definition at line 1225 of file combined_gui.py.
Referenced by solenoid_characterization_gui.SolenoidCharacterizationWindow._on_receive_ip_changed(), on_sensor_data(), and solenoid_characterization_gui.SolenoidCharacterizationWindow.on_sensor_data().
| tuple combined_gui.SensorPlotWidget.graph_moving_avg_samples |
Definition at line 1216 of file combined_gui.py.
Referenced by on_graph_moving_avg_changed(), and update_plots().
| int combined_gui.SensorPlotWidget.last_sps_sample_count = 0 |
Definition at line 1278 of file combined_gui.py.
Referenced by update_statistics().
| combined_gui.SensorPlotWidget.last_sps_time = time.time() |
Definition at line 1279 of file combined_gui.py.
Referenced by update_statistics().
| combined_gui.SensorPlotWidget.legend |
Definition at line 1382 of file combined_gui.py.
Referenced by add_sensor_plot().
| combined_gui.SensorPlotWidget.main_window_ref = None |
Definition at line 1260 of file combined_gui.py.
Referenced by combined_gui.ActuatorControlWidget.open_pwm_control(), reload_pt_calibration(), save_events_csv(), and combined_gui.ActuatorControlWidget.set_actuator_state().
| dict combined_gui.SensorPlotWidget.network_stats |
Definition at line 1269 of file combined_gui.py.
Referenced by sense_testing_gui.SenseTestingGUIWindow._update_plots(), and update_statistics().
| combined_gui.SensorPlotWidget.on_auto_scale_toggled |
Definition at line 1410 of file combined_gui.py.
| combined_gui.SensorPlotWidget.on_packet_received |
Definition at line 1314 of file combined_gui.py.
| combined_gui.SensorPlotWidget.on_sensor_data |
Definition at line 1312 of file combined_gui.py.
| combined_gui.SensorPlotWidget.on_status_update |
Definition at line 1313 of file combined_gui.py.
| combined_gui.SensorPlotWidget.only_show_pt_with_roles = disp.get("only_show_pt_with_roles", False) |
Definition at line 1300 of file combined_gui.py.
Referenced by save_pressures_csv(), and update_plots().
| int combined_gui.SensorPlotWidget.plot_buffer_size = int(self.window_seconds * 1200) + 1000 |
Definition at line 1285 of file combined_gui.py.
Referenced by _clear_all_sensor_deques(), init_connector_plots(), on_sensor_data(), reload_pt_calibration(), and update_buffer_size().
| dict combined_gui.SensorPlotWidget.plot_enabled |
Definition at line 1244 of file combined_gui.py.
Referenced by sense_testing_gui.SenseTestingGUIWindow._on_add_max_force_to_leaderboard(), sense_testing_gui.SenseTestingGUIWindow._on_channel_toggled(), _on_plot_toggle(), sense_testing_gui.SenseTestingGUIWindow._on_sensor_data(), sense_testing_gui.SenseTestingGUIWindow._update_plots(), add_sensor_plot(), and update_plots().
| combined_gui.SensorPlotWidget.plot_item |
Definition at line 1490 of file combined_gui.py.
Referenced by solenoid_characterization_gui.SolenoidCharacterizationWindow._add_event_line(), add_sensor_plot(), solenoid_characterization_gui.SolenoidCharacterizationWindow.update_plot(), and update_plots().
| combined_gui.SensorPlotWidget.plot_widget = pg.GraphicsLayoutWidget() |
Definition at line 1435 of file combined_gui.py.
Referenced by solenoid_characterization_gui.FullPlotWindow._draw_event_lines(), solenoid_characterization_gui.FullPlotWindow._mouse_moved(), sense_testing_gui.SenseTestingGUIWindow._on_sensor_data(), sense_testing_gui.SenseTestingGUIWindow._update_plots(), solenoid_characterization_gui.FullPlotWindow.on_reset_view(), and solenoid_characterization_gui.FullPlotWindow.on_toggle_mode().
| combined_gui.SensorPlotWidget.pt_calibration |
Definition at line 1251 of file combined_gui.py.
Referenced by solenoid_characterization_gui.SolenoidCharacterizationWindow._fill_pt_combo(), _send_demo_packet(), init_connector_plots(), on_sensor_data(), solenoid_characterization_gui.SolenoidCharacterizationWindow.on_sensor_data(), reload_pt_calibration(), and zero_pts().
| combined_gui.SensorPlotWidget.pt_calibration_error |
Definition at line 1251 of file combined_gui.py.
Referenced by reload_pt_calibration().
| dict combined_gui.SensorPlotWidget.pt_offsets = {} |
Definition at line 1257 of file combined_gui.py.
Referenced by clear_pt_zeros(), on_sensor_data(), save_pressures_csv(), and zero_pts().
| combined_gui.SensorPlotWidget.receiver = receiver |
Definition at line 1212 of file combined_gui.py.
Referenced by calibration_orchestrator.CalibrationOrchestrator._drain_queue(), _send_demo_packet(), sense_testing_gui.SenseTestingGUIWindow._update_plots(), sense_testing_gui.SenseTestingGUIWindow.closeEvent(), calibration_orchestrator.CalibrationOrchestrator.start_receiver(), calibration_orchestrator.CalibrationOrchestrator.stop(), and update_statistics().
| float combined_gui.SensorPlotWidget.reference_voltage = 2.5 |
Definition at line 1222 of file combined_gui.py.
Referenced by code_to_voltage(), and solenoid_characterization_gui.SolenoidCharacterizationWindow.code_to_voltage().
| combined_gui.SensorPlotWidget.save_events_csv |
Definition at line 1421 of file combined_gui.py.
| combined_gui.SensorPlotWidget.save_pressures_csv |
Definition at line 1416 of file combined_gui.py.
| tuple combined_gui.SensorPlotWidget.sensor_adc_codes |
Definition at line 1234 of file combined_gui.py.
Referenced by _clear_all_sensor_deques(), init_connector_plots(), on_sensor_data(), solenoid_characterization_gui.SolenoidCharacterizationWindow.on_sensor_data(), and zero_pts().
| dict combined_gui.SensorPlotWidget.sensor_data = {} |
Definition at line 1233 of file combined_gui.py.
Referenced by _clear_all_sensor_deques(), sense_testing_gui.SenseTestingGUIWindow._on_add_max_force_to_leaderboard(), sense_testing_gui.SenseTestingGUIWindow._on_sensor_data(), sense_testing_gui.SenseTestingGUIWindow._update_plots(), init_connector_plots(), on_sensor_data(), and solenoid_characterization_gui.SolenoidCharacterizationWindow.on_sensor_data().
| dict combined_gui.SensorPlotWidget.sensor_labels |
Definition at line 1263 of file combined_gui.py.
Referenced by add_sensor_plot(), on_sensor_label_changed(), save_pressures_csv(), update_plot_legend(), and update_plots().
| dict combined_gui.SensorPlotWidget.sensor_plots = {} |
Definition at line 1243 of file combined_gui.py.
Referenced by sense_testing_gui.SenseTestingGUIWindow._on_channel_toggled(), sense_testing_gui.SenseTestingGUIWindow._on_sensor_data(), sense_testing_gui.SenseTestingGUIWindow._update_plots(), add_sensor_plot(), update_plot_legend(), and update_plots().
| tuple combined_gui.SensorPlotWidget.sensor_psi_history |
Definition at line 1240 of file combined_gui.py.
Referenced by _clear_all_sensor_deques(), init_connector_plots(), on_sensor_data(), reload_pt_calibration(), and save_pressures_csv().
| dict combined_gui.SensorPlotWidget.sensor_psi_plot_t = {} |
Definition at line 1238 of file combined_gui.py.
Referenced by _clear_all_sensor_deques(), init_connector_plots(), on_sensor_data(), reload_pt_calibration(), update_buffer_size(), and update_plots().
| dict combined_gui.SensorPlotWidget.sensor_psi_plot_v = {} |
Definition at line 1239 of file combined_gui.py.
Referenced by _clear_all_sensor_deques(), init_connector_plots(), on_sensor_data(), reload_pt_calibration(), update_buffer_size(), and update_plots().
| combined_gui.SensorPlotWidget.settings_widget_ref |
Definition at line 1628 of file combined_gui.py.
| combined_gui.SensorPlotWidget.sps_text_item |
Definition at line 1541 of file combined_gui.py.
Referenced by update_plots().
| combined_gui.SensorPlotWidget.stats_start_time = time.time() |
Definition at line 1249 of file combined_gui.py.
Referenced by sense_testing_gui.SenseTestingGUIWindow._on_add_max_force_to_leaderboard(), sense_testing_gui.SenseTestingGUIWindow._on_sensor_data(), _send_demo_packet(), sense_testing_gui.SenseTestingGUIWindow._update_plots(), solenoid_characterization_gui.SolenoidCharacterizationWindow.get_current_board_time(), on_sensor_data(), solenoid_characterization_gui.SolenoidCharacterizationWindow.update_plot(), and update_plots().
| combined_gui.SensorPlotWidget.stats_timer = QtCore.QTimer(self) |
Definition at line 1322 of file combined_gui.py.
| combined_gui.SensorPlotWidget.status_label = QtWidgets.QLabel("Starting...") |
Definition at line 1398 of file combined_gui.py.
Referenced by _apply_demo_mode(), sense_testing_gui.SenseTestingGUIWindow._on_add_max_force_to_leaderboard(), solenoid_characterization_gui.SolenoidCharacterizationWindow._on_receive_ip_changed(), solenoid_characterization_gui.SolenoidCharacterizationWindow._on_send_ip_changed(), combined_gui.CalibrationWindow.fit_calibration(), solenoid_characterization_gui.SolenoidCharacterizationWindow.on_pwm_go_clicked(), on_status_update(), solenoid_characterization_gui.SolenoidCharacterizationWindow.on_status_update(), combined_gui.CalibrationWindow.perform_zero_point_calibration(), and combined_gui.CalibrationWindow.record_calibration_point().
| int combined_gui.SensorPlotWidget.total_samples_received = 0 |
Definition at line 1277 of file combined_gui.py.
Referenced by on_sensor_data(), and update_statistics().
| tuple combined_gui.SensorPlotWidget.under_graph_containers |
Definition at line 1453 of file combined_gui.py.
Referenced by _on_plot_toggle().
| dict combined_gui.SensorPlotWidget.under_graph_labels = {} |
Definition at line 1449 of file combined_gui.py.
| tuple combined_gui.SensorPlotWidget.under_graph_name_labels |
Definition at line 1355 of file combined_gui.py.
| combined_gui.SensorPlotWidget.update_plots |
Definition at line 1318 of file combined_gui.py.
Referenced by reload_pt_calibration(), and smart_calibration_gui.SmartCalibrationGUI.update_gui().
| combined_gui.SensorPlotWidget.update_statistics |
Definition at line 1323 of file combined_gui.py.
Referenced by reload_pt_calibration(), and smart_calibration_gui.SmartCalibrationGUI.update_gui().
| combined_gui.SensorPlotWidget.update_timer = QtCore.QTimer(self) |
Definition at line 1317 of file combined_gui.py.
Referenced by sense_testing_gui.SenseTestingGUIWindow.closeEvent().
| combined_gui.SensorPlotWidget.window_seconds = DEFAULT_WINDOW_SECONDS |
Definition at line 1214 of file combined_gui.py.
Referenced by sense_testing_gui.SenseTestingGUIWindow._on_add_max_force_to_leaderboard(), sense_testing_gui.SenseTestingGUIWindow._on_window_seconds_changed(), solenoid_characterization_gui.SolenoidCharacterizationWindow._on_window_slider_changed(), sense_testing_gui.SenseTestingGUIWindow._update_plots(), update_buffer_size(), solenoid_characterization_gui.SolenoidCharacterizationWindow.update_plot(), and update_plots().
| combined_gui.SensorPlotWidget.y_axis_auto_scale = True |
Definition at line 1228 of file combined_gui.py.
Referenced by on_auto_scale_toggled(), solenoid_characterization_gui.SolenoidCharacterizationWindow.update_plot(), and update_plots().
| combined_gui.SensorPlotWidget.y_axis_max = 700.0 |
Definition at line 1230 of file combined_gui.py.
Referenced by solenoid_characterization_gui.SolenoidCharacterizationWindow.update_plot(), and update_plots().
| combined_gui.SensorPlotWidget.y_axis_min = 0.0 |
Definition at line 1229 of file combined_gui.py.
Referenced by solenoid_characterization_gui.SolenoidCharacterizationWindow.update_plot(), and update_plots().