diff options
author | Andreas Antener <antener_a@gmx.ch> | 2015-04-08 09:48:27 +0200 |
---|---|---|
committer | Andreas Antener <antener_a@gmx.ch> | 2015-04-08 13:41:40 +0200 |
commit | 120fca61ad2fde5a8967f7dc554d8bd05499593a (patch) | |
tree | d70654ca9399453dee384aed56237bd14494fe75 /integrationtests/demo_tests/mavros_offboard_attctl_test.py | |
parent | a142b52e7bb3edad5bd6171917fb327ce43c6460 (diff) | |
download | px4-firmware-120fca61ad2fde5a8967f7dc554d8bd05499593a.tar.gz px4-firmware-120fca61ad2fde5a8967f7dc554d8bd05499593a.tar.bz2 px4-firmware-120fca61ad2fde5a8967f7dc554d8bd05499593a.zip |
use global namespace for tests
Diffstat (limited to 'integrationtests/demo_tests/mavros_offboard_attctl_test.py')
-rwxr-xr-x | integrationtests/demo_tests/mavros_offboard_attctl_test.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/integrationtests/demo_tests/mavros_offboard_attctl_test.py b/integrationtests/demo_tests/mavros_offboard_attctl_test.py index a9cbc2de5..7329c1efc 100755 --- a/integrationtests/demo_tests/mavros_offboard_attctl_test.py +++ b/integrationtests/demo_tests/mavros_offboard_attctl_test.py @@ -61,14 +61,14 @@ class MavrosOffboardAttctlTest(unittest.TestCase): def setUp(self): rospy.init_node('test_node', anonymous=True) - rospy.wait_for_service('iris/mavros/cmd/arming', 30) + rospy.wait_for_service('mavros/cmd/arming', 30) self.helper = PX4TestHelper("mavros_offboard_attctl_test") self.helper.setUp() - rospy.Subscriber('iris/vehicle_control_mode', vehicle_control_mode, self.vehicle_control_mode_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) + rospy.Subscriber('vehicle_control_mode', vehicle_control_mode, self.vehicle_control_mode_callback) + rospy.Subscriber("mavros/local_position/local", PoseStamped, self.position_callback) + self.pub_att = rospy.Publisher('mavros/setpoint_attitude/attitude', PoseStamped, queue_size=10) + self.pub_thr = rospy.Publisher('mavros/setpoint_attitude/att_throttle', Float64, queue_size=10) self.rate = rospy.Rate(10) # 10hz self.has_pos = False self.control_mode = vehicle_control_mode() |