-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: home mit Video-Feed und Services implementiert.
- Loading branch information
Showing
17 changed files
with
491 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
VITE_BACKEND_WEBSOCKET_URL=https://trackmate-backend-bscxaycdesb5gkeg.westeurope-01.azurewebsites.net/trackNodes |
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 @@ | ||
VITE_BACKEND_WEBSOCKET_URL=https://trackmate-backend-bscxaycdesb5gkeg.westeurope-01.azurewebsites.net/trackNodes |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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,10 @@ | ||
import type { GeoLocation } from "./geo-location"; | ||
import type { Orientation } from "./orientation"; | ||
import type { TransformationVector } from "./transformation-vector"; | ||
|
||
export interface CreateTrackNodeModel { | ||
Location: GeoLocation, | ||
Vector: TransformationVector, | ||
Orientation: Orientation, | ||
previousTrackNodeId: string | null, | ||
} |
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,13 @@ | ||
|
||
export interface DevicePositionModel { | ||
x: number; | ||
y: number; | ||
z: number; | ||
orientation: DeviceOrientationModel; | ||
} | ||
|
||
export interface DeviceOrientationModel { | ||
alpha: number; // rotation around Z axis (0 to 360 degrees) | ||
beta: number; // rotation around X axis (-180 to 180 degrees) | ||
gamma: number; // rotation around Y axis (-90 to 90 degrees) | ||
} |
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,6 @@ | ||
|
||
export interface GeoLocation { | ||
latitude: number, | ||
longitude: number, | ||
altitude: number | ||
} |
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,6 @@ | ||
|
||
export interface Orientation { | ||
alpha: number; // rotation around Z axis (0 to 360 degrees) | ||
beta: number; // rotation around X axis (-180 to 180 degrees) | ||
gamma: number; // rotation around Y axis (-90 to 90 degrees) | ||
} |
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,16 @@ | ||
|
||
export interface StartTrackModel { | ||
startPoint: string, | ||
goalTrackNodeId: string | ||
} | ||
|
||
export interface UploadTrackStepModel { | ||
trackId: string, | ||
mimeType: string, | ||
imageDataBase64: string | ||
imageData: ImageData | undefined | ||
} | ||
|
||
export interface TrackStepResultModel { | ||
// TODO | ||
} |
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,10 @@ | ||
import type { GeoLocation } from "./geo-location"; | ||
import type { Orientation } from "./orientation"; | ||
import type { TransformationVector } from "./transformation-vector"; | ||
|
||
export interface TrackNodeModel { | ||
id: string, | ||
location: GeoLocation, | ||
vector: TransformationVector, | ||
orientation: Orientation | ||
} |
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,6 @@ | ||
|
||
export interface TransformationVector { | ||
x: Number, | ||
y: Number, | ||
z: Number | ||
} |
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,7 @@ | ||
|
||
export interface UploadPictureModel { | ||
trackNodeId: string | undefined, | ||
imageDataBase64: string, | ||
imageData: ImageData | undefined, | ||
mimeType: string | ||
} |
Oops, something went wrong.