Added a method to clear signals from the message.
This commit is contained in:
parent
5bd3100d31
commit
ffa16d0f36
2 changed files with 3 additions and 0 deletions
|
|
@ -64,6 +64,9 @@ class CanMessage(object):
|
|||
def removeSignal(self, CanSignalLabel):
|
||||
self.Signals.pop(CanSignalLabel)
|
||||
|
||||
def clearSignals(self):
|
||||
self.Signals = {}
|
||||
|
||||
def composeData(self):
|
||||
'''
|
||||
Takes the CanSignals from the list in self.Signals and copies
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue