translation# snake.core.handlers.motion.utils.translation(x=0.0, y=0.0, z=0.0, dtype='float32')[source]# Create an array with a translation matrix. Parameters: x (scalar) – Translation parameters. y (scalar) – Translation parameters. z (scalar) – Translation parameters. dtype (dtype[Any] | None | type[Any] | _SupportsDType[dtype[Any]] | str | tuple[Any, int] | tuple[Any, SupportsIndex | Sequence[SupportsIndex]] | list[Any] | _DTypeDict | tuple[Any, Any]) Returns: m – The translation matrix. Return type: array, shape = (4, 4)