-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathwebsocket_server__addtwoints.yaml
49 lines (46 loc) · 1.29 KB
/
websocket_server__addtwoints.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
types:
idls:
- >
struct AddTwoInts_Request
{
int64 a;
int64 b;
};
struct AddTwoInts_Response
{
int64 sum;
};
systems:
dds: { type: fastdds }
ros1: { type: ros1 }
ros2: { type: ros2 }
websocket:
type: websocket_client
security: none
host: localhost
port: 80
authentication:
token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoic29zcy13ZWJzb2NrZXQtdGVzdCIsImlhdCI6MTU1NDc5ODg4N30.c7XzL8ytDezkXTuniNi1YEYXOpKj0_Tj2gm0BLn4c4o
routes:
websocket_server:
server: websocket
clients: [dds, ros1, ros2]
services:
add_two_ints: {
request_type: AddTwoInts_Request,
reply_type: AddTwoInts_Response,
route: websocket_server,
remap: {
dds: {
topic: AddTwoIntsService,
},
ros1: {
request_type: "example_interfaces/AddTwoInts:request",
reply_type: "example_interfaces/AddTwoInts:response"
},
ros2: {
request_type: "example_interfaces/AddTwoInts:request",
reply_type: "example_interfaces/AddTwoInts:response"
}
}
}