-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: extract IMU from GoPro videos (#692)
* add imu structs * add the extraction * use orin/orio/mtrx to calibrate IMUs * refactor * refactor * fix types * fix types
- Loading branch information
Showing
3 changed files
with
262 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import typing as T | ||
|
||
|
||
# Gyroscope signal in radians/seconds around XYZ axes of the camera. Rotation is positive in the counterclockwise direction. | ||
class GyroscopeData(T.NamedTuple): | ||
time: float | ||
x: float | ||
y: float | ||
z: float | ||
|
||
|
||
# Accelerometer reading in meters/second^2 along XYZ axes of the camera. | ||
class AccelerationData(T.NamedTuple): | ||
time: float | ||
x: float | ||
y: float | ||
z: float | ||
|
||
|
||
# Ambient magnetic field. | ||
class MagnetometerData(T.NamedTuple): | ||
time: float | ||
x: float | ||
y: float | ||
z: float |
Oops, something went wrong.