mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
autotest: add test for tracker manual mode
This commit is contained in:
parent
2dacafe0f3
commit
0d527aa313
@ -90,6 +90,14 @@ class AutoTestTracker(AutoTest):
|
|||||||
self.achieve_attitude(desyaw=0, despitch=0)
|
self.achieve_attitude(desyaw=0, despitch=0)
|
||||||
self.achieve_attitude(desyaw=45, despitch=10)
|
self.achieve_attitude(desyaw=45, despitch=10)
|
||||||
|
|
||||||
|
def MANUAL(self):
|
||||||
|
self.change_mode(0) # "MANUAL"
|
||||||
|
for x in 1200, 1600:
|
||||||
|
self.set_rc(1, x);
|
||||||
|
self.set_rc(2, x);
|
||||||
|
self.wait_servo_channel_value(1, x)
|
||||||
|
self.wait_servo_channel_value(2, x)
|
||||||
|
|
||||||
def disabled_tests(self):
|
def disabled_tests(self):
|
||||||
return {
|
return {
|
||||||
"ArmFeatures": "See https://github.com/ArduPilot/ardupilot/issues/10652",
|
"ArmFeatures": "See https://github.com/ArduPilot/ardupilot/issues/10652",
|
||||||
@ -102,5 +110,8 @@ class AutoTestTracker(AutoTest):
|
|||||||
("GUIDED",
|
("GUIDED",
|
||||||
"Test GUIDED mode",
|
"Test GUIDED mode",
|
||||||
self.GUIDED),
|
self.GUIDED),
|
||||||
|
("MANUAL",
|
||||||
|
"Test MANUAL mode",
|
||||||
|
self.MANUAL),
|
||||||
])
|
])
|
||||||
return ret
|
return ret
|
||||||
|
Loading…
Reference in New Issue
Block a user