pyicub.requests

Classes

iCubRequest(req_id, timeout, target, logger)

iCubRequestsManager(*args, **kwargs)

class pyicub.requests.iCubRequest(req_id, timeout, target, logger, ts_ref=0.0, tag='')
INIT = 'INIT'
RUNNING = 'RUNNING'
TIMEOUT = 'TIMEOUT'
DONE = 'DONE'
FAILED = 'FAILED'
TIMEOUT_REQUEST = 120.0
property creation_time
property duration
property end_time
property exception
property future_target
property future_req
property req_id
property retval
property status
property start_time
property tag
property target
run(*args, **kwargs)
cancel()
wait_for_completed()
info()
class pyicub.requests.iCubRequestsManager(*args, **kwargs)
CSV_COLUMNS = ['req_id', 'target', 'tag', 'status', 'creation_time', 'start_time', 'end_time', 'duration', 'exception', 'retval']
property pending_futures
property logger
create(timeout, target, name='', ts_ref=0.0, prefix='')
join_requests(requests)
join_pending_requests(timeout=120.0)
run_request(req, wait_for_completed, *args, **kwargs)