src/conntact/assembly_tools.py
def as_array(self, vec:Point) -> np.ndarray:
        """Takes a Point and returns a Numpy array.
        :param vec: (geometry_msgs.Point) Vector in serialized ROS format.
        :return: (numpy.Array) Vector in 3x1 numpy array format.
        """
        #insist that we get a 1D array returned
        return np.array([vec.x, vec.y, vec.z]).reshape(-1,)
Takes a Point and returns a Numpy array.
        :param vec: (geometry_msgs.Point) Vector in serialized ROS format.
        :return: (numpy.Array) Vector in 3x1 numpy array format.
        
Takes a Point and returns a Numpy array.
Takes a Point and returns a Numpy array .
def as_array(self, vec:Point) -> np.ndarray:
        return np.array([vec.x, vec.y, vec.z]).reshape(-1,)
def as_array ( self , vec : Point ) -> np . ndarray : return np . array ( [ vec . x , vec . y , vec . z ] ) . reshape ( - 1 , )
Takes a Point and returns a Numpy array.
Takes a Point and returns a Numpy array .
"""Takes a Point and returns a Numpy array.
        :param vec: (geometry_msgs.Point) Vector in serialized ROS format.
        :return: (numpy.Array) Vector in 3x1 numpy array format.
        """ #insist that we get a 1D array returned
(numpy.Array) Vector in 3x1 numpy array format.
( numpy . Array ) Vector in 3x1 numpy array format .
self
vec
Point
(geometry_msgs.Point) Vector in serialized ROS format.
( geometry_msgs . Point ) Vector in serialized ROS format .