Skip to content
Snippets Groups Projects
Commit 248ce566 authored by Tommy Persson's avatar Tommy Persson
Browse files

Bag Server added

parent fcdb5e9d
No related branches found
No related tags found
No related merge requests found
......@@ -2,10 +2,19 @@
import rospy
def start_recording(req):
print req
def stop_recording(req):
print req
if __name__ == "__main__":
rospy.init_node('listener', anonymous=True)
ns = rospy.get_namespace ()
rospy.loginfo ("NAMESPACE: %s", ns)
s1 = rospy.Service('start_recording', BSStartRecording, start_recording)
s2 = rospy.Service('stop_recording', BSStopRecording, stop_recording)
rospy.spin()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment