rlightning.humanoid.loader.smplx_loader

The simple motion loader accept motion file with .npz format, and the included items are:

  • mocap_framerate: the frame rate of the motion capture data

  • poses: the pose data in axis-angle format, shape (num_frames, 72)

  • trans: the root translation data, shape (num_frames, 3)

  • betas: the shape parameters, shape (10,)

  • gender: the gender of the SMPL model, string

rlightning.humanoid.loader.smplx_loader.load(motion_path: str) SMPLXMotion[source]

Load motion data from a .npz file.

Parameters:

motion_path (str) – Path to the .npz file.

Returns:

A dictionary containing the motion data, or None if loading failed.

Return type:

dict