(self)
Reloads the initial/target positions and images.
        This is called after the target number of actuator type have changed.
Reloads the initial/target positions and images.
        This is called after the target number of actuator type have changed.
Reloads the initial / target positions and images . This is called after the target number of actuator type have changed .
def reload_positions(self):
        """
        Reloads the initial/target positions and images.
        This is called after the target number of actuator type have changed.
        """
        self._initial_position = load_pose_from_npz(self._target_filename,
                self._actuator_name, str(self._target_number), 'initial')
        self._target_position  = load_pose_from_npz(self._target_filename,
                self._actuator_name, str(self._target_number), 'target')
        self._initial_image    = load_data_from_npz(self._target_filename,
                self._actuator_name, str(self._target_number), 'initial',
                'image', default=None)
        self._target_image     = load_data_from_npz(self._target_filename,
                self._actuator_name, str(self._target_number), 'target',
                'image', default=None)
def reload_positions ( self ) : self . _initial_position = load_pose_from_npz ( self . _target_filename , self . _actuator_name , str ( self . _target_number ) , 'initial' ) self . _target_position = load_pose_from_npz ( self . _target_filename , self . _actuator_name , str ( self . _target_number ) , 'target' ) self . _initial_image = load_data_from_npz ( self . _target_filename , self . _actuator_name , str ( self . _target_number ) , 'initial' , 'image' , default = None ) self . _target_image = load_data_from_npz ( self . _target_filename , self . _actuator_name , str ( self . _target_number ) , 'target' , 'image' , default = None )