(self, packet)
Appends value and quality values to drawing buffer.
Appends value and quality values to drawing buffer.
Appends value and quality values to drawing buffer .
def update(self, packet):
        """
        Appends value and quality values to drawing buffer.
        """
        if len(self.buffer) == 800 - self.x_offset:
            self.buffer = self.buffer[1:]
        self.buffer.append([packet.sensors[self.name]['value'], packet.sensors[self.name]['quality']])
def update ( self , packet ) : if len ( self . buffer ) == 800 - self . x_offset : self . buffer = self . buffer [ 1 : ] self . buffer . append ( [ packet . sensors [ self . name ] [ 'value' ] , packet . sensors [ self . name ] [ 'quality' ] ] )