modify some outputs of tensorrt transfer

This commit is contained in:
TJU_Lu
2024-12-16 12:03:41 +08:00
parent a349d0ca13
commit 59364bef31
2 changed files with 19 additions and 9 deletions

View File

@@ -133,8 +133,7 @@ class YopoNet:
return obs_norm
def callback_depth(self, data):
max_dis = 20.0
min_dis = 0.03
min_dis, max_dis = 0.03, 20.0
scale = {'435': 0.001, 'flightmare': 1.0}.get(self.env, 1.0)
try: