robotics-in-concert / rocon

http://www.robotconcert.org
11 stars 15 forks source link

Create a find_node library #3

Closed bit-pirate closed 10 years ago

bit-pirate commented 11 years ago

We use this in different places and often write only a simple (unreliable) finding method (e.g. based on certain available topics, services etc.).

Let's create a proper one and store it in a separate package, so we can include wherever we want. Probably start with a python implementation, then add cpp.

Not sure where to put this though: It's ROCON-agnostic, yujin_tools contains build stuff, and not in yocs, since it has nothing to do with control. So, create a new repo aka yujin_ros_tools (@stonier)?

Maybe integrate it with the rosnode package?

API: http://docs.ros.org/hydro/api/rosnode/html/

Could add a method, e.g. find_node_by_type, here: https://github.com/ros/ros_comm/blob/hydro-devel/tools/rosnode/src/rosnode/__init__.py

stonier commented 11 years ago

I'd never looked in rosnode before. Will have a gander tomorrow.

stonier commented 10 years ago

I'm making rocon_tools our 'generic' rocon code repo.

What's the use case for this, and what is type in find_node_by_type?

stonier commented 10 years ago

Closing this here.

First iteration done in https://github.com/robotics-in-concert/rocon_tools/pull/14. Followup in https://github.com/robotics-in-concert/rocon_tools/issues/15.