code: def do_connect(self, arg):
          ''' Connect to the arm. '''
          if self.arm.is_connected():
              print(self.style.error('Error: ', 'Arm is already connected.'))
          else:
              try:
                  port = self.arm.connect()
                  print(self.style.success('Success: ',
                                           'Connected to \'{}\'.'.format(port)))
              except r12.ArmException as e:
                  print(self.style.error('Error: ', str(e))f do_connect(self, arg):
          ''' Connect to the arm. '''
          if self.arm.is_connected():
              print(self.style.error('Error: ', 'Arm is already connected.'))
          else:
              try:
                  port = self.arm.connect()
                  print(self.style.success('Success: ',
                                           'Connected to \'{}\'.'.format(port)))
              except r12.ArmException as e:
                  print(self.style.error('Error: ', str(e)))
docs: Connect to the arm.