MCPcopy Create free account
hub / github.com/MAC-VO/MAC-VO / frame_gravity

Method frame_gravity

DataLoader/Interface.py:130–132  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

128 def time_ms(self) -> torch.Tensor : return self.time_ns.double() / 1000.
129 @property
130 def frame_gravity(self) -> float:
131 assert len(self.gravity) == 1, "frame_gravity can only be used on unbatched data"
132 return self.gravity[0]
133
134 # acc: Raw acceleration of IMU body frame with gravity added
135 acc : torch.Tensor # torch.float32 of shape BxNx3

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected