-
Notifications
You must be signed in to change notification settings - Fork 75
Closed
Labels
Description
If there is no ROS master available, rosnodejs will wait in a loop for one to appear. However, it currently kicks out with an error:
$ node example.js
[/my_node][INFO] 2016-05-18 11:25:14.994-0400: Connecting to ROS Master at http://localhost:11311
/home/imcmahon/dev/gennodejs_tests2/src/rosnodejs/utils/xmlrpc_utils.js:7
log.debug('Calling method ' + method +': ' + data);
^
TypeError: Cannot read property 'debug' of undefined
at Object.call (/home/imcmahon/dev/gennodejs_tests2/src/rosnodejs/utils/xmlrpc_utils.js:7:8)
at ClientRequest.<anonymous> (/home/imcmahon/dev/gennodejs_tests2/src/rosnodejs/utils/xmlrpc_utils.js:23:16)
at emitOne (events.js:90:13)
at ClientRequest.emit (events.js:182:7)
at Socket.socketErrorListener (_http_client.js:306:9)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)
at emitErrorNT (net.js:1265:8)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)