MCPcopy Create free account
hub / github.com/AdaCompNUS/summit / toggle_recording

Method toggle_recording

PythonAPI/examples/automatic_control.py:538–540  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

536 self.set_sensor(self.index + 1)
537
538 def toggle_recording(self):
539 self.recording = not self.recording
540 self.hud.notification('Recording %s' % ('On' if self.recording else 'Off'))
541
542 def render(self, display):
543 if self.surface is not None:

Callers

nothing calls this directly

Calls 1

notificationMethod · 0.45

Tested by

no test coverage detected