Update
This commit is contained in:
parent
ad71eb521e
commit
4bb6daa72f
@ -23,7 +23,8 @@ def callback(data):
|
||||
|
||||
|
||||
def gazebo_link_subscriber():
|
||||
rospy.init_node('gazebo_link_subscriber')rospy.Subscriber("/gazebo/link_states", LinkStates, callback)
|
||||
rospy.init_node('gazebo_link_subscriber')
|
||||
rospy.Subscriber("/gazebo/link_states", LinkStates, callback)
|
||||
# spin() simply keeps python from exiting until this node is stopped
|
||||
rospy.spin()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user