Skip to content

Commit 0e13d8e

Browse files
author
mklingen
committed
moved import
1 parent c7ee440 commit 0e13d8e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/prpy/perception/simtrack.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import rospy
2-
import simtrack_msgs.srv
32
import math
43
import tf
54
import tf.transformations as transformations
@@ -91,13 +90,13 @@ def _LocalToWorld(self,pose):
9190

9291

9392
def _GetDetections(self, obj_names):
93+
import simtrack_msgs.srv
9494
"""
9595
Calls the service to get a detection of a particular object.
9696
@param obj_name The name of the object to detect
9797
@return A 4x4 transformation matrix describing the pose of the object
9898
in world frame, None if the object is not detected
9999
"""
100-
print self.service_namespace+'/detect_objects'
101100
#Call detection service for a particular object
102101
detect_simtrack = rospy.ServiceProxy(self.service_namespace+'/detect_objects',
103102
simtrack_msgs.srv.DetectObjects)

0 commit comments

Comments
 (0)