File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 1
1
import rospy
2
- import simtrack_msgs .srv
3
2
import math
4
3
import tf
5
4
import tf .transformations as transformations
@@ -91,13 +90,13 @@ def _LocalToWorld(self,pose):
91
90
92
91
93
92
def _GetDetections (self , obj_names ):
93
+ import simtrack_msgs .srv
94
94
"""
95
95
Calls the service to get a detection of a particular object.
96
96
@param obj_name The name of the object to detect
97
97
@return A 4x4 transformation matrix describing the pose of the object
98
98
in world frame, None if the object is not detected
99
99
"""
100
- print self .service_namespace + '/detect_objects'
101
100
#Call detection service for a particular object
102
101
detect_simtrack = rospy .ServiceProxy (self .service_namespace + '/detect_objects' ,
103
102
simtrack_msgs .srv .DetectObjects )
You can’t perform that action at this time.
0 commit comments