Skip to content

Commit 9a645d5

Browse files
committed
fix AWS example config.
1 parent 786b4ed commit 9a645d5

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

mqtt_client/config/params.ros2.aws.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,14 @@ mqtt_client:
3939
# NOTE: It seems that AWS IOT only supports primitive topics. Using non-primitive
4040
# types results in the error message `Connection to broker lost, will try to reconnect...`
4141
ros2mqtt:
42-
ros_topic: /ping/primitive
43-
mqtt_topic: pingpong/primitive
44-
primitive: true
42+
ros_topics:
43+
- /ping/primitive
44+
/ping/primitive:
45+
mqtt_topic: pingpong/primitive
46+
primitive: true
4547
mqtt2ros:
46-
mqtt_topic: pingpong/primitive
47-
ros_topic: /pong/primitive
48-
primitive: true
48+
mqtt_topics:
49+
- pingpong/primitive
50+
pingpong/primitive:
51+
ros_topic: /pong/primitive
52+
primitive: true

0 commit comments

Comments
 (0)