mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 21:30:09 +00:00
Fix call to convert_to_leg_model
Fix call to convert_to_leg_model which is defined as a static method without an underscore in MinitaurExtendedEnv
This commit is contained in:
parent
74b173c30d
commit
0d4108f307
@ -122,7 +122,7 @@ class MinitaurExtendedEnv(MinitaurReactiveEnv):
|
||||
leg_model = []
|
||||
if self._include_leg_model:
|
||||
raw_motor_angles = self.minitaur.GetMotorAngles()
|
||||
leg_model = self._convert_to_leg_model(raw_motor_angles)
|
||||
leg_model = self.convert_to_leg_model(raw_motor_angles)
|
||||
|
||||
observation_list = (
|
||||
[parent_observation] + history_states + history_actions +
|
||||
@ -185,7 +185,7 @@ class MinitaurExtendedEnv(MinitaurReactiveEnv):
|
||||
if self._never_terminate:
|
||||
return False
|
||||
|
||||
leg_model = self._convert_to_leg_model(self.minitaur.GetMotorAngles())
|
||||
leg_model = self.convert_to_leg_model(self.minitaur.GetMotorAngles())
|
||||
swing0 = leg_model[0]
|
||||
swing1 = leg_model[2]
|
||||
maximum_swing_angle = 0.8
|
||||
|
Loading…
Reference in New Issue
Block a user