This commit is contained in:
wty-yy
2025-12-29 23:41:09 +08:00
parent c28bb64b0a
commit 587d014683
44 changed files with 196 additions and 714 deletions

View File

@@ -33,7 +33,7 @@ def load_terrain_data(file_paths):
Returns:
model_data: {model_name: {terrain_type: {friction: level}}}
"""
target_terrains = ['wave', 'slope', 'stairs_up', 'stairs_down', 'obstacle']
target_terrains = ['wave', 'slope_fd', 'slope_bd', 'stairs_fd', 'stairs_bd', 'obstacle']
model_data = {}
# 用于从键名中提取 friction 的正则 (例如 friction1.25)