utexas-bwi / rocon_scheduler_requests

Interfaces for managing rocon scheduler requests
http://wiki.ros.org/rocon_scheduler_requests
0 stars 3 forks source link

Scheduler callback behaviour #12

Closed stonier closed 10 years ago

stonier commented 10 years ago

How should the callback (which receives a RequestSet) operate when it allocates a client to a resource request?

Is it via the grant() call replacing the original resources entry with a new set of resources with exact platform information?

jack-oquin commented 10 years ago

Yes, the scheduler callback passes a specific resource to the grant() method.

The requester feedback callback should recognize the GRANTED status and use the msg.resources supplied for that Request.

stonier commented 10 years ago

Practically, I just update the resource's platform info?

jack-oquin commented 10 years ago

I think so, yes.

I suppose the remappings could also change, but I am not sure about that.

stonier commented 10 years ago

Remappings don't need to change - though might have to pass back unique concert client name. Can easily add that to the resources, or substitute the name part of the concert client's base platform info string for the concert client name.