Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,6 @@ Note that a purely empty file could cause an error.
|---------------------|---------|-----------------------------------------------------------|--------------|---------------|
| `w_debug_level` | `str` | `"DEBUG"`, `"INFO"`, `"WARN"`, `"ERROR"` | Main, Remote | `"DEBUG"` |
| `data_seq_size` | `int` | Buffer size of history data | Main | `100` |
| `data_dir` | `str` | The directory for the data recording system | Main, Remote | `"data"` |
| `width` | `int` | Window width | Main | `720` |
| `height` | `int` | Window height | Main | `480` |
| `fullscreen` | `bool` | `True`: auto maximize; `False`: window mode | Main | `False` |
Expand All @@ -359,6 +358,7 @@ Note that a purely empty file could cause an error.
| `comm_port` | `int` | The port on which the communication system runs on | Main, Remote | `16900` |
| `comm_stream` | `bool` | `True`: enable streaming; `False`: disable streaming | Main | `False` |
| `comm_stream_port` | `bool` | The port on which the streaming system runs on | Main, Remote | `16901` |
| `data_dir` | `str` | The directory for the data recording system | Remote | `"data"` |
| `save_data` | `bool` | `True`: save data; `False`: discard data | Remote | `False` |

## Devices Module
Expand Down
1 change: 0 additions & 1 deletion leads/config/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ def __init__(self, base: dict[str, _SupportedConfig]) -> None:
self.w_debug_level: _Literal["DEBUG", "INFO", "WARN", "ERROR"] = "DEBUG"
self.data_seq_size: int = 100
self.num_laps_timed: int = 3
self.data_dir: str = "data"
self.refresh()

def fix_dict(self, d: dict[str, _Any]) -> dict[str, _SupportedConfig]:
Expand Down
1 change: 1 addition & 0 deletions leads_gui/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def __init__(self, base: dict[str, _Any]) -> None:
self.comm_port: int = 16900
self.comm_stream: bool = False
self.comm_stream_port: int = 16901
self.data_dir: str = "data"
self.save_data: bool = False
super().__init__(base)

Expand Down