MP Params Tuning Example
1import gymnasium as gym
2import fancy_gym
3
4
5def compare_bases_shape(env1_id, env2_id):
6 env1 = gym.make(env1_id)
7 env1.traj_gen.show_scaled_basis(plot=True)
8 env2 = gym.make(env2_id)
9 env2.traj_gen.show_scaled_basis(plot=True)
10 return
11
12
13if __name__ == '__main__':
14 compare_bases_shape("fancy_ProDMP/TableTennis4D-v0", "fancy_ProMP/TableTennis4D-v0")