-
Notifications
You must be signed in to change notification settings - Fork 29
/
ros1_server__addtwoints.yaml
43 lines (40 loc) · 1.06 KB
/
ros1_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
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_server, security: none, port: 80 }
routes:
ros1_server:
server: ros1
clients: [dds, ros2, websocket]
services:
add_two_ints: {
request_type: AddTwoInts_Request,
reply_type: AddTwoInts_Response,
route: ros1_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"
}
}
}