def __init__(self, env, training_directory, config):
    self.discrete = False
    self.training_directory = training_directory
    self.config = config
    self.env = env
    self.arm = self.env.robot
    self.current = self.arm.end_effector_position()
    self.ball = self.env.dynamic_objects[0]
    self.target = self.ball.position
    self.static_objects = self.env.static_objects
    logging.info('Robot Arm: End effector starts at {}'.format(self.current))
    logging.info('Target: Ball at {}'.format(self.target))
def __init__(self, env, training_directory, config):
    self.discrete = False
    self.training_directory = training_directory
    self.config = config
    self.env = env
    self.arm = self.env.robot
    self.current = self.arm.end_effector_position()
    self.ball = self.env.dynamic_objects[0]
    self.target = self.ball.position
    self.static_objects = self.env.static_objects
    logging.info('Robot Arm: End effector starts at {}'.format(self.current))
    logging.info('Target: Ball at {}'.format(self.target))