unilab.envs.common.rotation.np_yaw_to_quat

unilab.envs.common.rotation.np_yaw_to_quat(yaw)[source]

Convert yaw batch (N,) to quaternion batch (N, 4) in NumPy.

Parameters:

yaw (ndarray)

Return type:

ndarray