The Robot Application Programming Interface Delegate Project
|
RAPID convention is that each robot bridge should place server objects in a naming context (for instance, "robonaut/Pose" for Pose).
The client naming context string for a particular Agent is stored in preferences and normally prefixed to an object reference name. To resolve an object *not* in the Agent's context, prefix the object pathname with '/'. For example, if we want to connect to EventChannel in the K10Red context, getResolveName(Agent.K10Red, "EventChannel") would return "k10brain8/EventChannel". However, if we're interested in obtaining a reference to a proxy event service, getResolveName(Agent.K10Red, "/ground/k10red/EventChannel" would return "ground/k10brain8/EventChannel".