Skip to content
Snippets Groups Projects
Commit 47cc1abc authored by Andreas Antener's avatar Andreas Antener
Browse files

updated mavros local position topic

parent 9924f551
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ class MavrosOffboardAttctlTest(unittest.TestCase):
self.helper.setUp()
rospy.Subscriber('iris/vehicle_control_mode', vehicle_control_mode, self.vehicle_control_mode_callback)
rospy.Subscriber("iris/mavros/position/local", PoseStamped, self.position_callback)
rospy.Subscriber("iris/mavros/local_position/local", PoseStamped, self.position_callback)
self.pub_att = rospy.Publisher('iris/mavros/setpoint_attitude/attitude', PoseStamped, queue_size=10)
self.pub_thr = rospy.Publisher('iris/mavros/setpoint_attitude/att_throttle', Float64, queue_size=10)
self.rate = rospy.Rate(10) # 10hz
......
......@@ -68,7 +68,7 @@ class MavrosOffboardPosctlTest(unittest.TestCase):
self.helper.setUp()
rospy.Subscriber('iris/vehicle_control_mode', vehicle_control_mode, self.vehicle_control_mode_callback)
rospy.Subscriber("iris/mavros/position/local", PoseStamped, self.position_callback)
rospy.Subscriber("iris/mavros/local_position/local", PoseStamped, self.position_callback)
self.pub_spt = rospy.Publisher('iris/mavros/setpoint_position/local', PoseStamped, queue_size=10)
self.rate = rospy.Rate(10) # 10hz
self.has_pos = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment