From d17639e156804e4e37524403703c0d880671e1ff Mon Sep 17 00:00:00 2001 From: nemogiftsun <nirmalgibbs@gmail.com> Date: Tue, 17 Mar 2015 20:34:17 +0100 Subject: [PATCH] Adapted the script to sync with the msg/srv definition in dynamic_graph_bridge_msgs. --- scripts/run_command | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/run_command b/scripts/run_command index 9615adc..bb3bf54 100755 --- a/scripts/run_command +++ b/scripts/run_command @@ -37,10 +37,10 @@ class RosShell(InteractiveConsole): self.cache = source return self.runcode(code, False) response = self.client(str(source)) - if response.stdout != "": - print response.stdout[:-1] - if response.stderr != "": - print response.stderr[:-1] + if response.standardoutput != "": + print response.standardoutput[:-1] + if response.standarderror != "": + print response.standarderror[:-1] elif response.result != "None": print response.result except rospy.ServiceException, e: -- GitLab