-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add Generic Cmd Response Protocol and Template Accessor #1017
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1017 +/- ##
==========================================
+ Coverage 75.28% 75.33% +0.04%
==========================================
Files 588 590 +2
Lines 42990 43114 +124
Branches 749 749
==========================================
+ Hits 32367 32481 +114
- Misses 10545 10555 +10
Partials 78 78
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Cool. I look forward to seeing it in action for a SCPI power supply. :-)
begin | ||
@write_block_queue.pop(true) while @write_block_queue.length > 0 | ||
rescue | ||
end |
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.
Do you maybe just want a @write_block_queue.clear
|
||
module OpenC3 | ||
class TemplateAccessor < Accessor | ||
def initialize(packet, left_char = '<', right_char = '>') |
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.
So default delimiters are <value>
but you also have code to make (value)
work. I assume any other non-regex sensitive value like #value#
works?
|
No description provided.