nimbus.request behaviour if robot unresponsive

Discussion created by acee on Aug 20, 2013
Latest reply on Aug 28, 2013 by acee

I was wondering what the behaviour for the nimbus.request Lua function is if I try to perform a request on a robot that is not responding, or on a robot under a hub that has gone down.


For example, if in a nas Lua script I do:


result = nimbus.request("/mydomain/myhub/myrobot/controller", "get_info") print(result.current_time)


What is the behaviour of this call if either "myhub" or "myrobot" has gone down?


Will result come back as nil, or will an error occur?