fix unnormalize_obs bug (not used)
This commit is contained in:
parent
e019bd65de
commit
193c3418ee
@ -105,8 +105,8 @@ class StateTransform:
|
||||
return out
|
||||
|
||||
def unnormalize_obs(self, vel_acc):
|
||||
vel_acc = vel_acc[:, 0:3] * self.lattice_primitive.vel_max
|
||||
vel_acc = vel_acc[:, 3:6] * self.lattice_primitive.acc_max
|
||||
vel_acc[:, 0:3] = vel_acc[:, 0:3] * self.lattice_primitive.vel_max
|
||||
vel_acc[:, 3:6] = vel_acc[:, 3:6] * self.lattice_primitive.acc_max
|
||||
return vel_acc
|
||||
|
||||
def normalize_obs(self, vel_acc_goal):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user