Skip to main content

Cyberwave MQTT API 1.0.0 documentation

MQTT API for Cyberwave platform
Specification tags
NameDescriptionDocumentation
articulationArticulation related operations-
healthHealth related operations-
jointJoint related operations-
monitoringMonitoring related operations-
positionPosition related operations-
robotRobot related operations-
rotationRotation related operations-
scaleScale related operations-
streamingStreaming related operations-
transformTransform related operations-
twinTwin related operations-
videoVideo related operations-
webrtcWebrtc related operations-

Table of Contents

Servers

production Server

  • URL: mqtt://mosquitto:1883
  • Protocol: mqtt
Production MQTT broker

Operations

SUB cyberwave.twin.{twin_uuid}.webrtc-offer Operation

  • Operation ID: subscribe_cyberwave_twin_twin_uuid_webrtc-offer
Processes WebRTC SDP offers from edge devices or frontend clients to establish real-time video streaming connections

Parameters

NameTypeDescriptionValueConstraintsNotes
twin_uuidstringThe twin uuid--required

Message Handle WebRTC Offer Handle WebRTC Offer

Processes WebRTC SDP offers from edge devices or frontend clients to establish real-time video streaming connections
  • Message ID: cyberwave_twin_twin_uuid_webrtc-offer_subscribe_message
  • Content type: application/json
Payload
NameTypeDescriptionValueConstraintsNotes
(root)objectPayload for WebRTC offer messages.examples ({"sdp":"v=0...","sender":"edge","target":"backend","timestamp":1700000000,"type":"offer"})-additional properties are allowed
typestringMessage typedefault ("offer"), const ("offer")--
sdpstringSession Description Protocol offer--required
targetstringTarget of the WebRTC connectionallowed ("backend", "frontend", "edge")-required
senderstringSender of the WebRTC offerallowed ("backend", "frontend", "edge")-required
frontend_typestringType of frontend stream (rgb, depth, etc.)---
color_track_idstringID of the color/RGB track---
depth_track_idstringID of the depth track---
timestampnumberUnix timestamp--required
Examples of payload
{
  "sdp": "v=0...",
  "sender": "edge",
  "target": "backend",
  "timestamp": 1700000000,
  "type": "offer"
}
Message tags
NameDescriptionDocumentation
webrtc--
video--
streaming--

SUB cyberwave.joint.{asset_uuid}.update Operation

  • Operation ID: subscribe_cyberwave_joint_asset_uuid_update
Updates the state (position, velocity, effort) of a robot joint

Parameters

NameTypeDescriptionValueConstraintsNotes
asset_uuidstringThe asset uuid--required

Message Update Joint State Update Joint State

Updates the state (position, velocity, effort) of a robot joint
  • Message ID: cyberwave_joint_asset_uuid_update_subscribe_message
  • Content type: application/json
Payload
NameTypeDescriptionValueConstraintsNotes
(root)objectPayload for joint state updates.examples ({"joint_name":"shoulder_pan_joint","joint_state":{"effort":0,"position":1.57,"velocity":0},"timestamp":1700000000})-additional properties are allowed
joint_namestringName of the joint being updated--required
joint_stateobjectState of a single joint.--required, additional properties are allowed
joint_state.positionnumberJoint position in radians or meters---
joint_state.velocitynumberJoint velocity---
joint_state.effortnumberJoint effort/torque---
timestampnumberUnix timestamp---
Examples of payload
{
  "joint_name": "shoulder_pan_joint",
  "joint_state": {
    "effort": 0,
    "position": 1.57,
    "velocity": 0
  },
  "timestamp": 1700000000
}
Message tags
NameDescriptionDocumentation
joint--
robot--
articulation--

SUB cyberwave.ping.{resource_uuid}.request Operation

  • Operation ID: subscribe_cyberwave_ping_resource_uuid_request
Responds to health check ping messages with a pong response

Parameters

NameTypeDescriptionValueConstraintsNotes
resource_uuidstringThe resource uuid--required

Message Handle Ping Request Handle Ping Request

Responds to health check ping messages with a pong response
  • Message ID: cyberwave_ping_resource_uuid_request_subscribe_message
  • Content type: application/json
Payload
NameTypeDescriptionValueConstraintsNotes
(root)objectPayload for ping health check messages.examples ({"timestamp":1700000000,"type":"ping"})-additional properties are allowed
typestringMessage typedefault ("ping"), const ("ping")--
timestampnumberUnix timestamp--required
Examples of payload
{
  "timestamp": 1700000000,
  "type": "ping"
}
Message tags
NameDescriptionDocumentation
health--
monitoring--

PUB cyberwave.pong.{resource_uuid}.response Operation

  • Operation ID: publish_cyberwave_pong_resource_uuid_response
Sends a pong response to confirm system health

Parameters

NameTypeDescriptionValueConstraintsNotes
resource_uuidstringThe resource uuid--required

Message Send Pong Response Send Pong Response

Sends a pong response to confirm system health
  • Message ID: cyberwave_pong_resource_uuid_response_publish_message
  • Content type: application/json
Payload
NameTypeDescriptionValueConstraintsNotes
(root)objectPayload for pong health check responses.examples ({"timestamp":1700000000,"type":"pong"})-additional properties are allowed
typestringMessage typedefault ("pong"), const ("pong")--
timestampnumberUnix timestamp--required
Examples of payload
{
  "timestamp": 1700000000,
  "type": "pong"
}
Message tags
NameDescriptionDocumentation
health--
monitoring--

SUB cyberwave.twin.{twin_uuid}.position Operation

  • Operation ID: subscribe_cyberwave_twin_twin_uuid_position
Updates the 3D position coordinates of a digital twin in the environment

Parameters

NameTypeDescriptionValueConstraintsNotes
twin_uuidstringThe twin uuid--required

Message Update Twin Position Update Twin Position

Updates the 3D position coordinates of a digital twin in the environment
  • Message ID: cyberwave_twin_twin_uuid_position_subscribe_message
  • Content type: application/json
Payload
NameTypeDescriptionValueConstraintsNotes
(root)objectPayload for updating twin position.examples ({"position":{"x":1,"y":2,"z":3},"timestamp":1700000000})-additional properties are allowed
positionobject3D vector representation.--required, additional properties are allowed
position.xnumberX coordinate--required
position.ynumberY coordinate--required
position.znumberZ coordinate--required
timestampnumberUnix timestamp of the update---
Examples of payload
{
  "position": {
    "x": 1,
    "y": 2,
    "z": 3
  },
  "timestamp": 1700000000
}
Message tags
NameDescriptionDocumentation
twin--
position--
transform--

SUB cyberwave.twin.{twin_uuid}.rotation Operation

  • Operation ID: subscribe_cyberwave_twin_twin_uuid_rotation
Updates the rotation quaternion of a digital twin in the environment

Parameters

NameTypeDescriptionValueConstraintsNotes
twin_uuidstringThe twin uuid--required

Message Update Twin Rotation Update Twin Rotation

Updates the rotation quaternion of a digital twin in the environment
  • Message ID: cyberwave_twin_twin_uuid_rotation_subscribe_message
  • Content type: application/json
Payload
NameTypeDescriptionValueConstraintsNotes
(root)objectPayload for updating twin rotation.examples ({"rotation":{"w":1,"x":0,"y":0,"z":0},"timestamp":1700000000})-additional properties are allowed
rotationobjectQuaternion representation for rotation.--required, additional properties are allowed
rotation.wnumberW component (real part)default (1)--
rotation.xnumberX component---
rotation.ynumberY component---
rotation.znumberZ component---
timestampnumberUnix timestamp of the update---
Examples of payload
{
  "rotation": {
    "w": 1,
    "x": 0,
    "y": 0,
    "z": 0
  },
  "timestamp": 1700000000
}
Message tags
NameDescriptionDocumentation
twin--
rotation--
transform--

SUB cyberwave.twin.{twin_uuid}.scale Operation

  • Operation ID: subscribe_cyberwave_twin_twin_uuid_scale
Updates the 3D scale factors of a digital twin in the environment

Parameters

NameTypeDescriptionValueConstraintsNotes
twin_uuidstringThe twin uuid--required

Message Update Twin Scale Update Twin Scale

Updates the 3D scale factors of a digital twin in the environment
  • Message ID: cyberwave_twin_twin_uuid_scale_subscribe_message
  • Content type: application/json
Payload
NameTypeDescriptionValueConstraintsNotes
(root)objectPayload for updating twin scale.examples ({"scale":{"x":1,"y":1,"z":1},"timestamp":1700000000})-additional properties are allowed
scaleobject3D vector representation.--required, additional properties are allowed
scale.xnumberX coordinate--required
scale.ynumberY coordinate--required
scale.znumberZ coordinate--required
timestampnumberUnix timestamp of the update---
Examples of payload
{
  "scale": {
    "x": 1,
    "y": 1,
    "z": 1
  },
  "timestamp": 1700000000
}
Message tags
NameDescriptionDocumentation
twin--
scale--
transform--