Skip to content

Commit f9be1c6

Browse files
Update src/rai/rai/communication/ros2/connectors.py
Co-authored-by: Kajetan Rachwał <[email protected]>
1 parent c60763f commit f9be1c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rai/rai/communication/ros2/connectors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def send_message(self, message: ROS2ARIMessage, target: str):
5252
self._topic_api.publish(
5353
topic=target,
5454
msg_content=message.payload,
55-
msg_type=message.metadata["msg_type"],
55+
msg_type=msg_type
5656
auto_qos_matching=auto_qos_matching,
5757
qos_profile=qos_profile,
5858
)

0 commit comments

Comments
 (0)