mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-24 09:38:29 -04:00
Tools: Autotest: fix python style
This commit is contained in:
parent
5368c3f9d2
commit
8c5c1bd5fc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user