MCPcopy Create free account
hub / github.com/AutonomousVehicleLaboratory/SemVecNet / skew

Function skew

semantic_mapping/src/utils/utils.py:66–74  ·  view source on GitHub ↗

your code here

(w)

Source from the content-addressed store, hash-verified

64
65
66def skew(w):
67 # Returns the skew-symmetrix represenation of a vector
68 """your code here"""
69 w = w.reshape([3, 1])
70 w_skew = np.array([[0., -w[2, 0], w[1, 0]],
71 [w[2, 0], 0., -w[0, 0]],
72 [-w[1, 0], w[0, 0], 0.]])
73
74 return w_skew
75
76
77def de_skew(w_skew):

Callers 1

deparameterize_rotationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected