def __init__(self, gimbal): self.gimbal = gimbal ipywidgets.interact(self.fn, x=ipywidgets.ToggleButton(description='Motor Enable'))