Main Page
Namespaces
Classes
Files
File List
File Members
scripts
wtf.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
3
import
rospy
4
from
robot_pose_ekf.srv
import
GetStatus, GetStatusRequest
5
6
if
__name__ ==
'__main__'
:
7
rospy.init_node(
'spawner'
, anonymous=
True
)
8
print
'looking for node robot_pose_ekf...'
9
rospy.wait_for_service(
'robot_pose_ekf/get_status'
)
10
11
s = rospy.ServiceProxy(
'robot_pose_ekf/get_status'
, GetStatus)
12
resp = s.call(GetStatusRequest())
13
print
resp.status
robot_pose_ekf
Author(s): Wim Meeussen, contradict@gmail.com
autogenerated on Sun Mar 3 2019 03:44:12