translation

Contents

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:
Returns:

m – The translation matrix.

Return type:

array, shape = (4, 4)