MCPcopy Create free account
hub / github.com/Robotics-STAR-Lab/H2-Mapping / get_sdf

Method get_sdf

mapping/src/functions/parallel_hash_net.py:71–75  ·  view source on GitHub ↗
(self, xyz)

Source from the content-addressed store, hash-verified

69 return rgb
70
71 def get_sdf(self, xyz):
72 # xyz = (xyz - self.bound[:, 0].to(xyz.device)) / self.max_dis.to(xyz.device)
73 xyz = (xyz - self.bound[:, 0].to(xyz.device)) / self.bound_dis.to(xyz.device)
74 sdf = self.hash_sdf_out(xyz)
75 return sdf
76
77 def get_values(self, xyz):
78 # xyz = (xyz - self.bound[:, 0].to(xyz.device)) / self.max_dis.to(xyz.device)

Callers 1

get_scores_onceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected