-
Notifications
You must be signed in to change notification settings - Fork 2
event based recording status [CPP-843] #862
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
Conversation
@john-michaelburke wanted to get some thoughts on these changes, only broken thing atm with these changes is SBP_JSON does not accurately reflect bytes written (will create another PR in dencode / libsbp to reflect # of bytes sent when using send function in encoders) These changes aims to allow for more "responsive" update via events rather than waiting thread, Using these changes ... Screen.Recording.2022-12-13.at.4.16.06.pm.movUsing main branch ... Screen.Recording.2022-12-13.at.4.14.51.pm.mov |
Definitely not opposed to moving the logic to the frontend/python. There are a few minor details that would get flagged by Stefan I imagine. I believe all of these were covered by the previous implementation (famous last words). |
Also it appears the manual filename selector to select the filename for a recording is broken. I get this error:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, but I'll echo @john-michaelburke's concerns/requests
Failing code quality checks, what else is remaining for this PR? |
was working on other tickets this will need to go back into WIP from the received reviews |
* refactoring sbp logger * refactoring sbp logger * serialize return bytes * clippy + output correct data bytes * More idiomatic * fmt clippy * remove stop recording * fmt * fix spamming close_sbp * fmt * pass and update current index [CPP-852] (#888) * pass format index as field * handle only init * only init once for interactive components * pylint * should only reflect counters when sbp is logging * fmt * changed to SbpFileLogger * fix test
Frontend and Release Workflow Started here |
all behaviours as mentioned should be resolved now 👍 |
Frontend and Release Workflow Started here |
will need to merge this in before re-releasing. (addresses some bugs & improvements, test if notarytool works) |
Frontend and Release Workflow Started here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
removes logging thread, send smaller packets of changes,
defers the full state to the frontend.
we can also refactor this into the event receivers that was introduced in instant filter updates etc...
downside is we send whenever we receive a frame meaning it would be dependent on the stream of info - which we can do some batching if this happen (too many updates for frontend gui => laggy ?)
this is also to prepare for another ticket - record empty streams of data