def _camera_diagnostic_callback(self, diag_message):
    assert isinstance(diag_message, DiagnosticStatusWrapper)
    diag_message.summary(DiagnosticStatusWrapper.OK, 'Video parameters')
    diag_message.add('FPS', self._fps)
    diag_message.add('Resolution', self._resolution)
    diag_message.add('Compression', self._compression)
    diag_message.add('Color image', self._use_color)
    diag_message.add('Square pixels used', self._use_square_pixels)
def _camera_diagnostic_callback(self, diag_message):
    assert isinstance(diag_message, DiagnosticStatusWrapper)
    diag_message.summary(DiagnosticStatusWrapper.OK, 'Video parameters')
    diag_message.add('FPS', self._fps)
    diag_message.add('Resolution', self._resolution)
    diag_message.add('Compression', self._compression)
    diag_message.add('Color image', self._use_color)
    diag_message.add('Square pixels used', self._use_square_pixels)