Skip to content
Snippets Groups Projects
Commit d17639e1 authored by nemogiftsun's avatar nemogiftsun
Browse files

Adapted the script to sync with the msg/srv definition in dynamic_graph_bridge_msgs.

parent fe188149
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment