fxxk the bahirt and the add Walk gym
This commit is contained in:
@@ -98,8 +98,12 @@ class Walk(Behavior):
|
||||
velocity[0] = np.clip(velocity[0], -0.5, 0.5)
|
||||
velocity[1] = np.clip(velocity[1], -0.25, 0.25)
|
||||
|
||||
radian_joint_positions = np.deg2rad(list(robot.motor_positions.values()))
|
||||
radian_joint_speeds = np.deg2rad(list(robot.motor_speeds.values()))
|
||||
radian_joint_positions = np.deg2rad(
|
||||
[robot.motor_positions[motor] for motor in robot.ROBOT_MOTORS]
|
||||
)
|
||||
radian_joint_speeds = np.deg2rad(
|
||||
[robot.motor_speeds[motor] for motor in robot.ROBOT_MOTORS]
|
||||
)
|
||||
|
||||
qpos_qvel_previous_action = np.vstack(
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user