Skip to content

Commit adfb116

Browse files
committed
update
1 parent 9561566 commit adfb116

File tree

8 files changed

+9
-11
lines changed

8 files changed

+9
-11
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ __pycache__/
33
*.py[cod]
44
*$py.class
55

6+
*.pt
67
# C extensions
78
*.so
89
logs/

README.md

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1 @@
1-
dr_gym
2-
3-
numpy=1.23.5
4-
torch=1.10.0+cu113
5-
6-
7-
urdf 小腿模型
8-
文档说明
1+
# Deep Tracking Control with Lite3

legged_gym/envs/base/legged_robot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,7 @@ def _draw_debug_vis(self):
13311331
self.gym.clear_lines(self.viewer)
13321332

13331333
hip_sphere_geom = gymutil.WireframeSphereGeometry(radius=0.05, color=(1, 1, 0))
1334-
base_sphere_geom = gymutil.WireframeSphereGeometry(radius=0.1, color=(1, 0, 0))
1334+
base_sphere_geom = gymutil.WireframeSphereGeometry(radius=0.1, color=(0, 0, 1))
13351335
foothold_center_sphere_geom= gymutil.WireframeSphereGeometry(radius=0.05, color=(0, 1, 0))
13361336
foothold_range_sphere_geom = gymutil.WireframeSphereGeometry(radius=0.03, color=(1, 0, 0))
13371337
sphere_geom = gymutil.WireframeSphereGeometry(0.03, 4, 4, None, color=(0, 1, 0))

legged_gym/envs/base/legged_robot.zip

-19.6 KB
Binary file not shown.
-1.32 KB
Binary file not shown.

legged_gym/scripts/train.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import sys
2-
# sys.path.append("/home/ysc/dr_gym/")
2+
import os
3+
cur_path = os.getcwd()
4+
sys.path.append(os.path.join(cur_path, "../"))
35

46
from legged_gym.envs import *
57
from legged_gym.utils import task_registry

legged_gym/utils/task_registry.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
import torch
55
import numpy as np
66
import sys
7-
sys.path.append("/home/ysc/dr_gym/rsl_rl")
7+
8+
cur_path = os.getcwd()
9+
sys.path.append(os.path.join(cur_path, "../rsl_rl"))
810

911
from rsl_rl.env import VecEnv
1012
from rsl_rl.runners import OnPolicyRunner

resources/robots/Lite3.zip

-25.3 MB
Binary file not shown.

0 commit comments

Comments
 (0)