#!/usr/bin/env python

import rospy
from mrs_msgs.srv import ReferenceStampedSrv
from geometry_msgs.msg import Point


if __name__ == '__main__':
    try:
        rospy.init_node('voar')

        rospy.wait_for_service('/uav1/control_manager/reference')

       

        req = ReferenceStampedSrv._request_class()
        srv = rospy.ServiceProxy('/uav1/control_manager/reference', ReferenceStampedSrv)
        
        req.reference.position.x = 8.1
        req.reference.position.y = 1.5
        req.reference.position.z = 2.0
        
     
        srv(req)

        rospy.sleep(10)


    except rospy.ROSInternalException:
        pass    
      
edecff1f37eda1683100dfbf007c5d60afa5ef94
<mask token>

<mask token>
if __name__ == '__main__':
    try:
        rospy.init_node('voar')
        rospy.wait_for_service('/uav1/control_manager/reference')
        req = ReferenceStampedSrv._request_class()
        srv = rospy.ServiceProxy('/uav1/control_manager/reference',
            ReferenceStampedSrv)
        req.reference.position.x = 8.1
        req.reference.position.y = 1.5
        req.reference.position.z = 2.0
        srv(req)
        rospy.sleep(10)
    except rospy.ROSInternalException:
        pass

import rospy
from mrs_msgs.srv import ReferenceStampedSrv
from geometry_msgs.msg import Point
if __name__ == '__main__':
    try:
        rospy.init_node('voar')
        rospy.wait_for_service('/uav1/control_manager/reference')
        req = ReferenceStampedSrv._request_class()
        srv = rospy.ServiceProxy('/uav1/control_manager/reference',
            ReferenceStampedSrv)
        req.reference.position.x = 8.1
        req.reference.position.y = 1.5
        req.reference.position.z = 2.0
        srv(req)
        rospy.sleep(10)
    except rospy.ROSInternalException:
        pass

#!/usr/bin/env python

import rospy
from mrs_msgs.srv import ReferenceStampedSrv
from geometry_msgs.msg import Point


if __name__ == '__main__':
    try:
        rospy.init_node('voar')

        rospy.wait_for_service('/uav1/control_manager/reference')

       

        req = ReferenceStampedSrv._request_class()
        srv = rospy.ServiceProxy('/uav1/control_manager/reference', ReferenceStampedSrv)
        
        req.reference.position.x = 8.1
        req.reference.position.y = 1.5
        req.reference.position.z = 2.0
        
     
        srv(req)

        rospy.sleep(10)


    except rospy.ROSInternalException:
        pass    
      