def run(self,x0,x1,autoInit=True,threshold=1e-3,**kwargs): if autoInit: _,_,T = self.buildInitGuess(x0,x1) if 'horizon' not in self.options: if 'additionalOptions' not in kwargs: kwargs['additionalOptions'] = '' kwargs['additionalOptions'] += ' --horizon=%.4f' % T[-1] AcadoRunner.run(self,states=self.stateDict(x0,x1), **kwargs) # # Run may raise an error but always return True. return self.checkResult(True,x0,x1,threshold=threshold)
def rerun(self): return AcadoRunner.run(self) # DEPREC??? # --- ASYNC -------------------------------------------------------------------------- # --- ASYNC -------------------------------------------------------------------------- # --- ASYNC -------------------------------------------------------------------------- def run_async(self,x0,x1,autoInit=True,jobid=None, **kwargs):