[robocup-msrs] question

Kyle Johns kylej at microsoft.com
Mon Jun 25 17:15:12 EDT 2007


Actually, the "/robudog" string appended to the name of the service is not necessary.  The ServiceForwarder code matches the specified URI to an existing service name.  If it does not match exactly, it will match it to a service name that matches the first part of the specified URI.  In this case, it is matching the port to the .../bluteam/field/2/simulatedsoccerplayer/robotmotioncontrol service.

If you remove the "/robudog" from the string, the service works the same as before.

-Kyle


-----Original Message-----
From: nikos.vlassis at gmail.com [mailto:nikos.vlassis at gmail.com] On Behalf Of Nikos Vlassis
Sent: Monday, June 25, 2007 6:58 AM
To: Kyle Johns; robocup-msrs at cc.gatech.edu
Subject: question

Dear Kyle,

maybe you can help with this. I have trouble understanding what this
piece of code is exactly doing:

_robuDOG = ServiceForwarder<robudog.RobuDOGOperations>(pt.Service + "/robudog");

The pt.Service is
 ..../blueteam/field/2/simulatedsoccerplayer/robotmotioncontrol

and after executing the above command the _robuDOG service reads
 Robosoft.RobuBOX.RobuDOG.DOG.Proxy.RobuDOGOperations

1) In the service directory I don't see the service
 ..../blueteam/field/2/simulatedsoccerplayer/robotmotioncontrol/robudog

2) where we do see the _robuDOG service running?

thanks
Nikos


More information about the robocup-msrs mailing list