forked from erwincoumans/motion_imitation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrewards_funcs.txt
27 lines (24 loc) · 1.15 KB
/
rewards_funcs.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
"""fonction de reward classique"""
# reward = self._pose_weight * pose_reward \
# + self._velocity_weight * velocity_reward \
# + self._end_effector_weight * end_effector_reward \
# + self._root_pose_weight * root_pose_reward \
# + self._root_velocity_weight * root_velocity_reward
"""reward function inversée"""
# reward = self._root_pose_weight * pose_reward \
# + self._velocity_weight * velocity_reward \
# + self._end_effector_weight * end_effector_reward \
# + self._pose_weight * root_pose_reward \
# + self._root_velocity_weight * root_velocity_reward
"""reward function endeff sigmoid + poids modifiés"""
reward = 0.5 * pose_reward \
+ 0.05 * velocity_reward \
+ 0.35 * end_effector_reward \
+ 0.05 * root_pose_reward \
+ 0.05 * root_velocity_reward
"""reward function modifiée"""
# reward = 0.05 * pose_reward \
# + 0.05 * velocity_reward \
# + 0.1 * end_effector_reward \
# + 0.6 * root_pose_reward \
# + 0.2 * root_velocity_reward