test_nj_oa.py
Go to the documentation of this file.
00001 #!/usr/bin/python
00002 # -*- coding: utf-8 -*-
00003 
00004 import rospy
00005 import actionlib
00006 
00007 from lama_jockeys.msg import NavigateAction
00008 from lama_jockeys.msg import NavigateGoal
00009 
00010 if __name__ == '__main__':
00011     rospy.init_node('test_nj_oa')
00012 
00013     client = actionlib.SimpleActionClient('jockey_server', NavigateAction)
00014     client.wait_for_server(rospy.Duration(5))
00015 
00016     nav_goal = NavigateGoal()
00017     nav_goal.action = nav_goal.TRAVERSE
00018     client.send_goal(nav_goal)
00019 
00020     # Wait indefinitely.
00021     client.wait_for_result()
00022 
00023     rospy.spin()


lama_test
Author(s): Gaƫl Ecorchard
autogenerated on Thu Jun 6 2019 19:06:31