code: def arm(self, wait=True, timeout=None):
          '''Arm the vehicle.
  
          If wait is True, wait for arm operation to complete before
          returning.  If timeout is nonzero, raise a TimeouTerror if the
          vehicle has not armed after timeout seconds.
          '''
  
          self.armed = True
  
          if wait:
              self.wait_for(lambda: self.armed, timeout=timeout,
                            errmsg='failed to arm vehicle'f arm(self, wait=True, timeout=None):
          '''Arm the vehicle.
  
          If wait is True, wait for arm operation to complete before
          returning.  If timeout is nonzero, raise a TimeouTerror if the
          vehicle has not armed after timeout seconds.
          '''
  
          self.armed = True
  
          if wait:
              self.wait_for(lambda: self.armed, timeout=timeout,
                            errmsg='failed to arm vehicle')
docs: Arm the vehicle.
  
          If wait is True, wait for arm operation to complete before
          returning.  If timeout is nonzero, raise a TimeouTerror if the
          vehicle has not armed after timeout seconds.