Unity-Technologies / ROS-TCP-Endpoint

ROS package used to create an endpoint to accept ROS messages sent from a Unity scene using the ROS TCP Connector scripts
Apache License 2.0
185 stars 124 forks source link

ROS2 Multiple Types Warning #91

Closed at669 closed 3 years ago

at669 commented 3 years ago

Proposed change(s)

ROS1's get_published_topics returned [[str, str]], but ROS2's get_topic_names_and_types returns a List[Tuple[str, List[str]]]. As we don't support multiple types per topic, this PR adds a warning message and maintains the original type subscribed.

Useful links (GitHub issues, JIRA tickets, forum threads, etc.)

Types of change(s)

Testing and Verification

Tested using string, bool, int32 ros2 topic pub.

Test Configuration:

Checklist

Other comments