RobotWebTools / web_video_server

HTTP Streaming of ROS Image Topics in Multiple Formats
http://ros.org/wiki/web_video_server
Other
270 stars 188 forks source link

fix type format match bug in ros2 #79

Closed reed-lau closed 5 years ago

reed-lau commented 5 years ago

in ros2 the rclcpp::Node::get_topic_names_and_types() returns the topic name and types, and the types is split by slash(/) not double colon(::). something like:

name type
/clock rosgraph_msgs/Clock
/parameter_events rcl_interfaces/ParameterEvent

the code check the type using ::.

reed-lau commented 5 years ago

@dirk-thomas

dirk-thomas commented 5 years ago

Thanks for the patch.