Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a TUI for easier reading of sensor data #5

Merged
merged 29 commits into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
b237845
Add initial ratatui UI
sunsided Jul 4, 2024
762958c
Fix rendering of TUI
sunsided Jul 4, 2024
3c04289
Set up initial TUI and logging
sunsided Jul 4, 2024
c55c7da
Fix release-build panic handler
sunsided Jul 4, 2024
50e874c
Make TUI example work
sunsided Jul 4, 2024
f08ac5b
Attempt to create a streaming log window
sunsided Jul 4, 2024
4b779fa
Pass sensor data to the components
sunsided Jul 4, 2024
5a69a1e
Add the SensorDataBuffer struct to parse data
sunsided Jul 4, 2024
a94f210
Use VecDeque to keep only latest information
sunsided Jul 4, 2024
1fdb101
Show latest sensor output
sunsided Jul 4, 2024
aa71133
Remove demo home component
sunsided Jul 4, 2024
a7c7e34
Remove demo home component
sunsided Jul 4, 2024
079e066
Use regular Mutex for locking the buffer
sunsided Jul 4, 2024
f763372
Add FPS counter
sunsided Jul 4, 2024
17656a4
Add data frequency output
sunsided Jul 4, 2024
052393e
Add sensor counting
sunsided Jul 4, 2024
c492fa8
Add initial color coding
sunsided Jul 4, 2024
8fa516a
Add coloring of readings
sunsided Jul 4, 2024
a651d64
Add the other sensors back in
sunsided Jul 4, 2024
262bf17
Introduce extra panel for sensors
sunsided Jul 4, 2024
68f3773
List sensors individually
sunsided Jul 4, 2024
b9affe6
Move display functions to utils module
sunsided Jul 4, 2024
c1adbbd
Unify rendering of log lines
sunsided Jul 4, 2024
d0fbd8f
Provide sensor sampling rates
sunsided Jul 4, 2024
5edac5d
Remove keybinding configuration code
sunsided Jul 4, 2024
7be18e5
Display number of skipped values
sunsided Jul 4, 2024
ea82aea
Add pause option
sunsided Jul 4, 2024
2eaa744
Log sensor self-identification
sunsided Jul 4, 2024
0aff702
Add better handling of identification frames
sunsided Jul 4, 2024
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
4 changes: 2 additions & 2 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[codespell]
ignore-words-list = crate
skip = .git,*.lock
ignore-words-list = crate,ratatui
skip = .git,*.lock
3 changes: 3 additions & 0 deletions .config/config.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
// might make sense to use it.
}
Loading