src/conntact/assembly_tools.py
def arrayToWrench(array: np.ndarray) -> np.ndarray:
        """Restructures output 1x6 mathematical array representation of a wrench into a wrench object.
        :param wrench: (np.Array) 1x6 numpy array 
        :return: (geometry_msgs.Wrench) Return wrench.
        """

        return Wrench(Point(*list(array[3:])), Point(*list(array[:3])))
Restructures output 1x6 mathematical array representation of a wrench into a wrench object.
        :param wrench: (np.Array) 1x6 numpy array 
        :return: (geometry_msgs.Wrench) Return wrench.
        
Restructures output 1x6 mathematical array representation of a wrench into a wrench object.
Restructures output 1x6 mathematical array representation of a wrench into a wrench object .
def arrayToWrench(array: np.ndarray) -> np.ndarray:
        return Wrench(Point(*list(array[3:])), Point(*list(array[:3])))
def arrayToWrench ( array : np . ndarray ) -> np . ndarray : return Wrench ( Point ( * list ( array [ 3 : ] ) ) , Point ( * list ( array [ : 3 ] ) ) )
Restructures output 1x6 mathematical array representation of a wrench into a wrench object.
Restructures output 1x6 mathematical array representation of a wrench into a wrench object .
"""Restructures output 1x6 mathematical array representation of a wrench into a wrench object.
        :param wrench: (np.Array) 1x6 numpy array 
        :return: (geometry_msgs.Wrench) Return wrench.
        """
(geometry_msgs.Wrench) Return wrench.
( geometry_msgs . Wrench ) Return wrench .
array
np.ndarray
wrench
(np.Array) 1x6 numpy array
( np . Array ) 1x6 numpy array