Skip to content

Commit ad5e5b1

Browse files
Add RTDE driver configuration and UUID to edge.yaml and uuids.js (#570)
This pull request adds support for a new RTDE driver to the ACS service setup. The main changes include registering the RTDE driver, defining its configuration schema and presentation details, and assigning it a unique UUID. **RTDE Driver Integration:** * Registered the `ACS.Driver.RTDE` object in `edge.yaml` to enable RTDE driver support. * Added a detailed configuration schema for `ACS.Driver.RTDE` in `edge.yaml`, including connection details (`host`, `port`), presentation fields (`address`, `path`), and descriptions for available metric addresses and JSONPath usage. **Identifiers and Metadata:** * Assigned a unique UUID for `ACS.Driver.RTDE` in `lib/uuids.js` to ensure proper identification and referencing throughout the system.
2 parents 941358e + 7125040 commit ad5e5b1

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

acs-service-setup/dumps/edge.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ objects:
5252
!u ACS.Driver.TPlinkSmartPlug: { name: "TP-Link smart plug" }
5353
!u ACS.Driver.External: { name: "External driver" }
5454
!u ACS.Driver.ADS: { name: "ADS" }
55+
!u ACS.Driver.RTDE: { name: "RTDE" }
5556

5657
configs:
5758
# Driver Definition Configuration
@@ -635,6 +636,43 @@ configs:
635636
title: ADS Connection Details
636637
type: object
637638

639+
!u ACS.Driver.RTDE:
640+
image:
641+
repository: edge-rtde
642+
polled: false
643+
presentation:
644+
address:
645+
description: "The Metric Address to subscribe to. Available addresses: json/state (complete robot state), json/jointData (joint positions/velocities/currents), json/cartesianInfo (TCP position/orientation), json/robotModeData (robot mode/speeds/emergency stop), json/toolData (tool I/O/voltage/current), json/masterboardData (master board I/O/safety mode), json/forceModeFrame (force mode data), json/additionalInfo (freedrive button status), json/toolCommunicationInfo (tool communication settings)"
646+
icon: "exchange-alt"
647+
placeholder: "e.g. json/jointData"
648+
title: "Metric Address"
649+
path:
650+
description: "JSONPath notation to extract specific values from the message payload. Examples: $[0].positionActual (joint 0 position), $.toolVectorX (TCP X position), $.robotMode (robot mode), $.toolVoltage48V (tool voltage), $.freedriveButtonPressed (freedrive button status)"
651+
icon: "code"
652+
placeholder: "e.g. $[0].positionActual"
653+
title: "JSON Path"
654+
schema:
655+
properties:
656+
host:
657+
minLength: 1
658+
options:
659+
order: 1
660+
title: "Hostname/IP"
661+
type: string
662+
port:
663+
default: 30001
664+
description: "RTDE interface port. Common ports: 30001 (RTDE configuration/setup), 30002 (Dashboard server), 30003 (Primary/Secondary interface), 30004 (RTDE data exchange - most common for real-time streaming)"
665+
minLength: 1
666+
options:
667+
order: 2
668+
title: "Port"
669+
type: number
670+
required:
671+
- host
672+
- port
673+
title: "RTDE Connection Details"
674+
type: object
675+
638676
!u ACS.Driver.External:
639677
polled: false
640678
presentation:

acs-service-setup/lib/uuids.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ export const ACS = {
123123
Test: "c8798cba-de4c-11ef-8a43-8766e8683af8",
124124
TPlinkSmartPlug: "d46e1374-de4c-11ef-b469-c388a038fd5c",
125125
ADS: "6764f1e5-fbe7-494c-8dbe-b80039c30c97",
126+
RTDE: "9f4e8f3a-0b1f-11f0-8c5e-3f2c5d3c5e8f",
126127

127128
/* External driver */
128129
External: "eb669a2c-e213-11ef-998e-a7fc6f4817b5",

0 commit comments

Comments
 (0)