pyros-dev / pyros

Python interfacing for multiprocess software - A Python blanket for ROS to hide inside
BSD 3-Clause "New" or "Revised" License
25 stars 4 forks source link

Adding support for wildcard '*' for exposing topics / services #17

Closed asmodehn closed 8 years ago

asmodehn commented 9 years ago

wildcard (regex ? ) support for exposing topics / services would help in many cases.

asmodehn commented 9 years ago

I had a look at the commit 472f92d9e57906426ed03d5c7f803eeb3e647914, it seems to me that you're doing something unnecessary : if REGEX -> do this if not REGEX -> do that

AFAIK "/long/topic/full/name" is also a regex, that will match only one topic : /long/topic/full/name So it seems we can have regex in all cases and we don't need yet another "topics_match" on top of "topics_args" to store topics...

heuristicus commented 9 years ago

Removed the separate lists in 63c6e6570da08b87430412362bc0cc31ada0d511.

asmodehn commented 8 years ago

this is in and seems to work fine.