pytransform3d.transformations.random_transform

pytransform3d.transformations.random_transform(random_state=RandomState(MT19937) at 0x7FE0F9FA8340)[source]

Generate random transform.

Each component of the translation will be sampled from \mathcal{N}(\mu=0, \sigma=1).

Parameters
random_statenp.random.RandomState, optional (default: random seed 0)

Random number generator

Returns
A2Barray-like, shape (4, 4)

Random transform from frame A to frame B