Update
This commit is contained in:
parent
cb0ea7c6f6
commit
aa14c87b82
@ -40,7 +40,7 @@ class tf_service():
|
|||||||
|
|
||||||
def gazebo_link_subscriber(self):
|
def gazebo_link_subscriber(self):
|
||||||
rospy.init_node('gazebo_link_subscriber')
|
rospy.init_node('gazebo_link_subscriber')
|
||||||
rospy.Subscriber("/gazebo/link_states", LinkStates, callback)
|
rospy.Subscriber("/gazebo/link_states", LinkStates, self._callback)
|
||||||
# spin() simply keeps python from exiting until this node is stopped
|
# spin() simply keeps python from exiting until this node is stopped
|
||||||
rospy.spin()
|
rospy.spin()
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user