MCPcopy Create free account
hub / github.com/dotchen/LearningByCheating / compute_magnitude_angle

Function compute_magnitude_angle

PythonAPI/agents/tools/misc.py:89–104  ·  view source on GitHub ↗

Compute relative angle and distance between a target_location and a current_location :param target_location: location of the target object :param current_location: location of the reference object :param orientation: orientation of the reference object :return: a tuple composed

(target_location, current_location, orientation)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 2

normMethod · 0.80
dotMethod · 0.80

Tested by

no test coverage detected