RobotWebTools / ros2-web-bridge

Bridging your browser to the ROS 2.0
Apache License 2.0
208 stars 68 forks source link

Support the format of message type for both ros1 and ros2 #83

Closed minggangw closed 6 years ago

minggangw commented 6 years ago

Currently when creating a publisher, we will pass something like "std_msgs/String" as the type of the message. But the type of the message is defined as "std_msgs/msg/String" in ros2.

This patch support both of these two formates.

Fix #72

qiuzhong commented 6 years ago

LGTM!

qiuzhong commented 6 years ago

Tested with some code in the both ROS1 and ROS2 message/interface type format and worked for me!