utexas-bwi / rocon_scheduler_requests

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

implement Scheduler._timeout handler #7

Closed jack-oquin closed 10 years ago

jack-oquin commented 10 years ago

Currently stubbed out.

jack-oquin commented 10 years ago

My current timeout implementation simply deletes the corresponding _RequesterStatus entry from the scheduler's dictionary, which makes sense, since contact has been lost.

Advantages:

Issues:

jack-oquin commented 10 years ago

Looks like no new scheduler callback is required:

This essentially treats the timeout as if a message had been received canceling every active request.

jack-oquin commented 10 years ago

Another advantage to this approach:

jack-oquin commented 10 years ago

I am quite happy with the way this turned out.

Closing now, re-open if design problems crop up.