Preparing search index...
The search index is not available
@formant/data-sdk
@formant/data-sdk
BasicUniverseDataConnector
Class BasicUniverseDataConnector
Hierarchy (
view full
)
BasicUniverseDataConnector
LiveUniverseData
TelemetryUniverseData
Index
Constructors
constructor
Properties
last
Queried
Historic
Time
map
Realtime
Connections
query
Store
subscriber
Distributors
Loaders
subscriber
Loaders
subscriber
Sources
time
time
Change
Listeners
Methods
add
Interaction
add
Interaction
Listener
add
Interactions
Changed
Listener
add
Removable
Telemetry
Subscription
create
H264
Drawer
create
Realtime
Connection
fetch
Image
generate
Telemetry
Filter
get
Device
Context
Name
get
Device
Contexts
get
Hardware
Streams
get
Interactions
get
Latest
Locations
get
Latest
Transform
Trees
get
Realtime
Buttons
get
Statistics
get
Telemetry
Stream
Type
get
Telemetry
Streams
get
Teleop
Ros
Streams
get
Time
get
Time
Ms
get
Urdfs
remove
Interaction
send
Command
send
Realtime
Bitset
send
Realtime
Boolean
send
Realtime
Pose
send
Rtc
Message
set
Time
subscribe
Data
Source
State
Change
Constructors
constructor
new
Basic
Universe
Data
Connector
(
)
:
BasicUniverseDataConnector
Returns
BasicUniverseDataConnector
Properties
last
Queried
Historic
Time
last
Queried
Historic
Time
:
undefined
|
Date
map
Realtime
Connections
map
Realtime
Connections
:
Map
<
string
,
"loading"
|
Device
|
PeerDevice
>
= ...
query
Store
query
Store
:
QueryStore
= ...
subscriber
Distributors
Loaders
subscriber
Distributors
Loaders
:
Map
<
string
,
Map
<
string
,
(
(
data
)
=>
void
)
[]
>
>
= ...
subscriber
Loaders
subscriber
Loaders
:
Map
<
string
,
Map
<
string
,
(
(
data
)
=>
Promise
<
DataResult
<
any
>
>
)
>
>
= ...
subscriber
Sources
subscriber
Sources
:
Map
<
string
,
Map
<
string
,
UniverseDataSource
>
>
= ...
time
time
:
Date
|
"live"
time
Change
Listeners
time
Change
Listeners
:
(
(
time
)
=>
void
)
[]
= []
Type declaration
(
time
)
:
void
Parameters
time
:
Date
|
"live"
Returns
void
Methods
add
Interaction
add
Interaction
(
_interaction
)
:
void
Parameters
_interaction
:
Interaction
Returns
void
add
Interaction
Listener
add
Interaction
Listener
(
_callback
)
:
(
(
)
=>
void
)
Parameters
_callback
:
(
(
interaction
)
=>
void
)
(
interaction
)
:
void
Parameters
interaction
:
Interaction
Returns
void
Returns
(
(
)
=>
void
)
(
)
:
void
Returns
void
add
Interactions
Changed
Listener
add
Interactions
Changed
Listener
(
_callback
)
:
(
(
)
=>
void
)
Parameters
_callback
:
(
(
interactions
)
=>
void
)
(
interactions
)
:
void
Parameters
interactions
:
Interaction
[]
Returns
void
Returns
(
(
)
=>
void
)
(
)
:
void
Returns
void
Protected
add
Removable
Telemetry
Subscription
add
Removable
Telemetry
Subscription
<
T
>
(
deviceId
,
source
,
loader
,
distribute
)
:
(
(
)
=>
void
)
Type Parameters
T
Parameters
deviceId
:
string
source
:
UniverseDataSource
loader
:
(
(
data
)
=>
Promise
<
DataResult
<
T
>
>
)
(
data
)
:
Promise
<
DataResult
<
T
>
>
Parameters
data
:
IStreamData
<
keyof
IStreamTypeMap
>
[]
Returns
Promise
<
DataResult
<
T
>
>
distribute
:
(
(
data
)
=>
void
)
(
data
)
:
void
Parameters
data
:
T
Returns
void
Returns
(
(
)
=>
void
)
(
)
:
void
Returns
void
Protected
create
H264
Drawer
create
H264
Drawer
(
)
:
H264BytestreamCanvasDrawer
Returns
H264BytestreamCanvasDrawer
Protected
create
Realtime
Connection
create
Realtime
Connection
(
deviceId
,
sessionType
?
)
:
Promise
<
void
>
Parameters
deviceId
:
string
sessionType
:
number
= SessionType.TELEOP
Returns
Promise
<
void
>
fetch
Image
fetch
Image
(
url
)
:
Promise
<
HTMLImageElement
>
Parameters
url
:
string
Returns
Promise
<
HTMLImageElement
>
Private
generate
Telemetry
Filter
generate
Telemetry
Filter
(
)
:
IQuery
Returns
IQuery
get
Device
Context
Name
get
Device
Context
Name
(
_deviceId
)
:
Promise
<
undefined
|
string
>
Parameters
_deviceId
:
string
Returns
Promise
<
undefined
|
string
>
get
Device
Contexts
get
Device
Contexts
(
)
:
Promise
<
{
deviceId
:
string
;
deviceName
:
string
;
}
[]
>
Returns
Promise
<
{
deviceId
:
string
;
deviceName
:
string
;
}
[]
>
get
Hardware
Streams
get
Hardware
Streams
(
_deviceId
)
:
Promise
<
IRealtimeStream
[]
>
Parameters
_deviceId
:
string
Returns
Promise
<
IRealtimeStream
[]
>
get
Interactions
get
Interactions
(
)
:
Interaction
[]
Returns
Interaction
[]
get
Latest
Locations
get
Latest
Locations
(
)
:
Promise
<
{
location
:
ILocation
;
streamName
:
string
;
}
[]
>
Returns
Promise
<
{
location
:
ILocation
;
streamName
:
string
;
}
[]
>
get
Latest
Transform
Trees
get
Latest
Transform
Trees
(
_deviceId
)
:
Promise
<
{
streamName
:
string
;
transformTree
:
ITransformNode
;
}
[]
>
Parameters
_deviceId
:
string
Returns
Promise
<
{
streamName
:
string
;
transformTree
:
ITransformNode
;
}
[]
>
get
Realtime
Buttons
get
Realtime
Buttons
(
_deviceId
)
:
Promise
<
RealtimeButtonConfiguration
[]
>
Parameters
_deviceId
:
string
Returns
Promise
<
RealtimeButtonConfiguration
[]
>
get
Statistics
get
Statistics
(
)
:
Promise
<
IUniverseStatistics
>
Returns
Promise
<
IUniverseStatistics
>
get
Telemetry
Stream
Type
get
Telemetry
Stream
Type
(
_deviceId
,
_streamName
)
:
Promise
<
undefined
|
string
>
Parameters
_deviceId
:
string
_streamName
:
string
Returns
Promise
<
undefined
|
string
>
get
Telemetry
Streams
get
Telemetry
Streams
(
_deviceId
)
:
Promise
<
ITelemetryStream
[]
>
Parameters
_deviceId
:
string
Returns
Promise
<
ITelemetryStream
[]
>
get
Teleop
Ros
Streams
get
Teleop
Ros
Streams
(
_deviceId
)
:
Promise
<
ITelemetryRosStream
[]
>
Parameters
_deviceId
:
string
Returns
Promise
<
ITelemetryRosStream
[]
>
get
Time
get
Time
(
)
:
Date
|
"live"
Returns
Date
|
"live"
get
Time
Ms
get
Time
Ms
(
)
:
number
Returns
number
get
Urdfs
get
Urdfs
(
deviceId
)
:
Promise
<
string
[]
>
Parameters
deviceId
:
string
Returns
Promise
<
string
[]
>
remove
Interaction
remove
Interaction
(
_id
)
:
void
Parameters
_id
:
string
Returns
void
send
Command
send
Command
(
deviceId
,
name
,
data
?
)
:
Promise
<
void
>
Parameters
deviceId
:
string
name
:
string
Optional
data
:
string
Returns
Promise
<
void
>
send
Realtime
Bitset
send
Realtime
Bitset
(
deviceId
,
streamName
,
bitset
)
:
Promise
<
void
>
Parameters
deviceId
:
string
streamName
:
string
bitset
:
IBitset
Returns
Promise
<
void
>
send
Realtime
Boolean
send
Realtime
Boolean
(
deviceId
,
streamName
,
value
)
:
Promise
<
void
>
Parameters
deviceId
:
string
streamName
:
string
value
:
boolean
Returns
Promise
<
void
>
send
Realtime
Pose
send
Realtime
Pose
(
deviceId
,
streamName
,
pose
)
:
Promise
<
void
>
Parameters
deviceId
:
string
streamName
:
string
pose
:
ITransform
Returns
Promise
<
void
>
Protected
send
Rtc
Message
send
Rtc
Message
(
deviceId
,
msg
)
:
Promise
<
void
>
Parameters
deviceId
:
string
msg
:
IRtcStreamMessage
Returns
Promise
<
void
>
set
Time
set
Time
(
time
)
:
void
Parameters
time
:
Date
|
"live"
Returns
void
subscribe
Data
Source
State
Change
subscribe
Data
Source
State
Change
(
_deviceId
,
_source
,
_onDataSourceStateChange
?
)
:
CloseSubscription
Parameters
_deviceId
:
string
_source
:
UniverseDataSource
Optional
_onDataSourceStateChange
:
(
(
state
)
=>
void
)
(
state
)
:
void
Parameters
state
:
DataSourceState
Returns
void
Returns
CloseSubscription
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
last
Queried
Historic
Time
map
Realtime
Connections
query
Store
subscriber
Distributors
Loaders
subscriber
Loaders
subscriber
Sources
time
time
Change
Listeners
add
Interaction
add
Interaction
Listener
add
Interactions
Changed
Listener
add
Removable
Telemetry
Subscription
create
H264
Drawer
create
Realtime
Connection
fetch
Image
generate
Telemetry
Filter
get
Device
Context
Name
get
Device
Contexts
get
Hardware
Streams
get
Interactions
get
Latest
Locations
get
Latest
Transform
Trees
get
Realtime
Buttons
get
Statistics
get
Telemetry
Stream
Type
get
Telemetry
Streams
get
Teleop
Ros
Streams
get
Time
get
Time
Ms
get
Urdfs
remove
Interaction
send
Command
send
Realtime
Bitset
send
Realtime
Boolean
send
Realtime
Pose
send
Rtc
Message
set
Time
subscribe
Data
Source
State
Change
@formant/data-sdk
Loading...
Generated using
TypeDoc