This commit is contained in:
wty-yy
2025-12-01 00:08:01 +08:00
parent c58ac0ab89
commit a91ea5b62e
21 changed files with 299 additions and 60 deletions

View File

@@ -20,6 +20,7 @@ def parse_path(path):
return path
def class_to_dict(obj) -> dict:
# From https://github.com/leggedrobotics/legged_gym/blob/master/legged_gym/utils/helpers.py
if not hasattr(obj, "__dict__"):
return obj
result = {}