Searching among multiple services of same type
Hi,
this is a typical RTFM question, but please bear with me as I couldn't find a manual.
I'm developing multi-robot systems with the simulator, and was wondering if there's any shortcuts for accessing specific instances of simulated bumper arrays, differential drives etc.
You can search the entire service directory and see what's running and try to guess what's what, but is there a direct way to subscribe/alter these?
For example, if you use
Microsoft.Robotics.Simulation.XX.Proxy.Contract.CreateService()
can you later on access this directly, and give it an easily recognizable name or something while you're at it?
Having DSS/Robotics able to dynamically load up hardware modules without knowledge of what's going to be there is great. However, the methods for accessing sensors/drives in Robotics tutorials are no good if you've got more than one robot, as you end up subscribing to the first service you find. Also, the method used in Simple Dashboard example (get a list of all relevant services) doesn't give you info on which laser range finder belongs to which robot - as far as I could see.
So, I was wondering if someone knows how to be "selective" when it comes to your Partners..
For example, if I create a robot called A and attach bumpers to it, is there a way to specify that I want A's bumpers for a partner service, not B's or anyone else's?
Best regards.
H.R

