Tools: Autotest: fix python style

This commit is contained in:
Willian Galvani 2022-05-25 14:14:00 -03:00
parent 5368c3f9d2
commit 8c5c1bd5fc

View File

@ -111,14 +111,15 @@ class AutoTestSub(AutoTest):
""" """
angles in eulers angles in eulers
""" """
msg = self.mav.mav.set_attitude_target_send( self.mav.mav.set_attitude_target_send(
0, 0,
0, 0, 0, 0,
1<<6, # 1 << 6,
mavextra.euler_to_quat([math.radians(roll), math.radians(pitch), math.radians(yaw)]), mavextra.euler_to_quat([math.radians(roll), math.radians(pitch), math.radians(yaw)]),
0, #roll rate 0, # roll rate
0, #pitch rate 0, # pitch rate
0, 0) # yaw rate, thrust 0, 0 # yaw rate, thrust
)
def test_alt_hold(self): def test_alt_hold(self):
"""Test ALT_HOLD mode """Test ALT_HOLD mode