コード例 #1
0
 def get_servo(self):
     servo_agent = instantiate_spec(self.servo)
     servo_agent.init(self.boot_spec)
     assert isinstance(servo_agent, DiffeoServoAgentInterface)
     servo_agent.set_discdds(self.discdds)
     return servo_agent
コード例 #2
0
 def __init__(self, plans_generator, reduce_tolerance, distance):
     self.reduce_tolerance = reduce_tolerance
     self.plans_generator = instantiate_spec(plans_generator)
     _, self.distance = get_dp_config().distances.instance_smarter(distance)
コード例 #3
0
 def __init__(self, plans_generator, reduce_tolerance, distance):
     self.reduce_tolerance = reduce_tolerance
     self.plans_generator = instantiate_spec(plans_generator)
     _, self.distance = get_dp_config().distances.instance_smarter(distance)
コード例 #4
0
 def get_servo(self):
     servo_agent = instantiate_spec(self.servo)
     servo_agent.init(self.boot_spec)
     assert isinstance(servo_agent, DiffeoServoAgentInterface)
     servo_agent.set_discdds(self.discdds)
     return servo_agent