Create a new data frame
Optional
frame: DataFrameData frame to copy
Create a new data frame
Optional
source: DataObjectSource data object
Data frame created timestamp (ISO 8601)
Optional
phenomenonData frame sensor data pheonomenon timestamp (ISO 8601)
Data frame unique identifier
Source object clone that captured the data frame
Source data object
Set the source object clone that captured the data frame
Source data object
Add a new object relevant to this data frame
instance
Relevant object
Add a new reference space relevant to this data frame.
addObject Alias for addObject
Relevant reference space
Add a new sensor relevant to this data frame
instance
Relevant sensor
Get a specific object by its identifier
Data object if found
Object UID
Get known objects used in this data frame
Array of found data objects
Optional
dataType: (new () => T)Data object type
Get known sensor objects used in this data frame
Found data objects
Sensor type
Optional
uid: stringOptional
defaultUID: stringDefault UID. When sensor is not added, it will be created
Check if the data frame has an object
Object exist
Data object to find
Remove an object from the data frame
Object to remove
A data frame is information that is passed through each node in a positioning model.
Usage
Creation
A data frame can be created with an optional source DataObject that represents the object responsible for generating the frame.
Creating a custom DataFrame
Custom data frames can be created by extending the default DataFrame class. Important when handling data frames (and objects) is to add serializable decorators.
Adding DataObjects
Adding data object will clone the data objects to the data frame. Any changes made to the object after cloning will not be applied to the data frame.