Note
Go to the end to download the full example code
Construct custom human model from Xsens data#
This example shows how to construct a custom human model (URDF) from Xsens data.
from isaacgym import gymutil
import rofunc as rf
args = gymutil.parse_arguments()
args.use_gpu_pipeline = False
mvnx_path = '/home/ubuntu/Data/xsens_mvnx/2023_05_16_joint_angle_test/010-004.mvnx'
save_dir = '/home/ubuntu/Data/xsens_mvnx/2023_05_16_joint_angle_test'
mvnx_file = rf.sim.xsens2urdf(mvnx_path, save_dir, human_mass=7, human_height=1.8)
# CURI
human_sim = rf.sim.HumanSim(args, asset_root=save_dir, asset_file='Zhihao.urdf')
human_sim.init()
# human_sim.show()
human_sim.run_demo(mvnx_file)
Total running time of the script: (0 minutes 0.000 seconds)