62ff2cb048
gui: specified range width for graphs
2025-01-28 16:38:51 +08:00
749f19b105
ld_current_out_ctrl_timer: lower current ramp rate
...
- Ld current ramp now updates in 250Hz (< 500Hz IIR filter cutoff
frequency) for pwr_exc_protector
2025-01-28 16:38:51 +08:00
bd83a8fc92
LdPwrExcProtector: Use IIR filter for OPP logic
...
- Do not use the built-in analog watchdog
- IIR Filter limits ADC noise to be below 1 LSB
- Fix false positive error for the overpower protection due to ADC noise
2025-01-28 16:38:38 +08:00
c1855f6a08
pd_mon: Add iir filter to voltage readings
...
- analog wdg behaviour is unchanged
2025-01-27 12:44:27 +08:00
46889ac330
gui: update param tree temperature related limit
2025-01-27 12:43:58 +08:00
6f273e85cc
driver, example: fix typo
2025-01-27 12:43:58 +08:00
fb6fd47c69
gui: fix temp setpoint line plotting error
...
- pg_live 0.7.2 -> 0.8 updates the get_x&y_range() logic in LiveAxisRange
- If data_connector's max_point = 1. At tick = 1, there would be
IndexError as it tries to access the second index of the data
directly without checking the length.
2025-01-27 12:43:58 +08:00
09827b4d44
gui: Configure graph's range width and bound
...
- Upgrade to pglive v0.8
- Add a new patch for new options for specifying display range width
and bound
2025-01-27 12:43:58 +08:00
5909ead681
max1968: Add IIR filter to Tec Readings
2025-01-27 12:43:58 +08:00
d8ddd5fb24
gui: rm generated ui_x.py files
2025-01-27 12:43:58 +08:00
6db375d6b8
Fix incorrect Adc filter settings name
2025-01-27 12:43:58 +08:00
7267794e49
gui: Change label texts
2025-01-27 12:43:54 +08:00
3affe47293
gui: display warning msg if recv-ed
2025-01-24 18:32:33 +08:00
7bdb7e48df
driver: Add handling for warning msgs
2025-01-24 18:32:33 +08:00
b3a9f61648
cmd_handler: add warning msgs for cmd with val clamped
2025-01-24 18:32:33 +08:00
e1ee3ec959
firmware: clamp input against invalid value
2025-01-24 18:32:27 +08:00
7f9dc37c10
cmd_handler: Add msg to InvalidCmd Response
2025-01-24 16:59:49 +08:00
9bec46490d
gui: Include firmware rev in About msg box
2025-01-24 16:59:49 +08:00
0e707e3d6b
driver: Add fn to get the firmware rev
2025-01-24 16:59:49 +08:00
c2806aee27
cmd_handler: Add new cmd to for commit hash
2025-01-24 16:59:49 +08:00
1b7f5bc3e4
firmware: add commit hash into firmware
2025-01-24 16:59:49 +08:00
227d9d4877
laser: Short LD terminals when ld pwr is off
2025-01-24 16:59:49 +08:00
6ad41c8502
gui: Do not use window title in info_box
...
- info_box does not resize with the title length
- On MacOS, the title won't be displayed
2025-01-24 16:59:49 +08:00
2a6db53dc8
driver: wait for the read_response task to complete before connection retry
2025-01-23 11:52:02 +08:00
7dd551201e
driver: fix bug in failing to emit error msg
2025-01-23 11:52:02 +08:00
753a16ab8e
driver: Close incoming awaitable fn if queue is full
2025-01-23 11:52:02 +08:00
76a19cb65a
driver: rm data validation
...
- Data validation is done on Kirdy Server side
- Thus, remove duplicated logic
- Merge send_cmd and send_raw_cmd
2025-01-23 11:51:56 +08:00
cd3347798c
driver, firmware: Rm active report mode & cmd
2025-01-21 11:31:02 +08:00
85f81ee8e4
Change default tcp port 1337 -> 1550
2025-01-09 16:38:02 +08:00
5b00bd60c7
rm erase_flash_settings.bin
2025-01-09 10:52:20 +08:00
4d8e16771e
gui: Correct Pid Autotune output current limit
2024-10-29 12:59:15 +08:00
4d332328c0
gui: Limit min PD Mon Pwr y axis range to 0-100uW
2024-10-23 12:24:57 +08:00
edb8099a26
Add pglive patch for setting y-axis min range span
2024-10-23 12:24:57 +08:00
49dc8a9b96
gui: autotuner only set_i when relay state changes
...
- Previously, autotuner issues set_i cmd for each report obj received
- These change increase the maximum autotune-able PID update rate with GUI
2024-10-22 18:09:39 +08:00
a1b7538295
driver: Fix disconnection bug at high cmd rate
...
- Disconnection issue can be triggered by setting high polling rate
(500Hz) and then interactive with gui elements
2024-10-22 18:09:28 +08:00
8f5a294a53
gui: Fix graphs' refresh rate to be 10Hz
...
- Reduce unnecessary CPU usage
2024-10-22 10:57:55 +08:00
87b0e1bf67
gui: rm sIPrefix from PD Current readings
2024-10-21 11:15:15 +08:00
35f66c3516
gui: Change LD, Thermostat Status Display Method
...
- Use combinations of label and stylesheet border to create visual cue for status
2024-10-18 17:33:54 +08:00
dd7e1bbbdd
gui: Adjust y_axis limit range of graphs
2024-10-18 17:33:09 +08:00
a3b38fc6b7
gui: Unify the param tree unit formatting style
2024-10-18 17:33:01 +08:00
388e6725ef
thermostat: Clear alarm when settings are loaded
2024-10-17 17:36:17 +08:00
f4c761c5ca
pid: Scale PID Parameters with Sampling Rate
...
- Breaking changes
2024-10-17 17:36:06 +08:00
e560d8f1eb
thermostat, gui: Set max v range according to datasheet
2024-10-16 16:21:11 +08:00
0437c6e76e
thermostat, gui: Relax the max settable TEC Current Limit
...
- Improper settings can cause PoE power failure and over heating
- See hardware repo Issue #51
2024-10-16 16:14:58 +08:00
bad21806f8
gui: Add new form for temp adc filter cfg and settable polling rate
...
List of Changes:
1. Get report via polling instead of active report mode
2. Allow user to set a custom report polling rate while settings polling rate is fixed to 10Hz
- it is necessary for pid autotune to function correctly
3. Add a form for configuring temperature adc filter
4. Use two different timer for polling report and settings to optimize performance
Known Issue:
1. CPU utilization increases with the report polling rate as for each report recv-ed, gui renders and plots one frame of the 4 graphs
2024-10-10 17:25:33 +08:00
cb2bc505c9
driver: expose _odr_type for filter cfgs
2024-10-10 17:25:29 +08:00
4f19d2c2be
driver: Expose the upper and lower limit settings for Sinc3WithFineODR Filter Cfg
2024-10-10 15:23:57 +08:00
e8d3858fc9
driver: return whether task queue is full in task_dispatcher()
2024-10-10 15:20:58 +08:00
9bec56ed6c
driver: Add support for GetPollInterval cmd
2024-10-10 15:19:43 +08:00
51b82e0447
cmd_handler: Add cmd to get temp adc polling interval
2024-10-10 13:41:15 +08:00