(self, arm, mode, data)
Issues a position command to an arm.
        Args:
            arm: Either TRIAL_ARM or AUXILIARY_ARM.
            mode: An integer code (defined in gps_pb2).
            data: An array of floats.
Issues a position command to an arm.
        Args:
            arm: Either TRIAL_ARM or AUXILIARY_ARM.
            mode: An integer code (defined in gps_pb2).
            data: An array of floats.
Issues a position command to an arm . Args : arm : Either TRIAL_ARM or AUXILIARY_ARM . mode : An integer code ( defined in gps_pb2 ) . data : An array of floats .
def reset_arm(self, arm, mode, data):
        """
        Issues a position command to an arm.
        Args:
            arm: Either TRIAL_ARM or AUXILIARY_ARM.
            mode: An integer code (defined in gps_pb2).
            data: An array of floats.
        """
        reset_command = PositionCommand()
        reset_command.mode = mode
        reset_command.data = data
        reset_command.pd_gains = self._hyperparams['pid_params']
        reset_command.arm = arm
        timeout = self._hyperparams['trial_timeout']
        reset_command.id = self._get_next_seq_id()
        self._reset_service.publish_and_wait(reset_command, timeout=timeout)
def reset_arm ( self , arm , mode , data ) : reset_command = PositionCommand ( ) reset_command . mode = mode reset_command . data = data reset_command . pd_gains = self . _hyperparams [ 'pid_params' ] reset_command . arm = arm timeout = self . _hyperparams [ 'trial_timeout' ] reset_command . id = self . _get_next_seq_id ( ) self . _reset_service . publish_and_wait ( reset_command , timeout = timeout )