Beispiel #1
0
 def __init__(self, x0, t0, dynamics_config_file):
     self.attrs = None
     try:
         with open(dynamics_config_file) as f:
             self.attrs = yaml.load(f)
     except:
         raise IOError(errno.ENOENT, 'File not found', dynamics_config_file)
     self.dynamics = FixedWingUAVDynamics(x0, t0, 0.001, self.attrs)