Autotest: add setpoint_target test for copter

This commit is contained in:
Pierre Kancir 2018-08-14 18:05:16 +02:00 committed by Peter Barker
parent 67533c3284
commit 824b9c1dc9
1 changed files with 9 additions and 0 deletions

View File

@ -5760,6 +5760,15 @@ class AutoTestCopter(AutoTest):
("BaroWindCorrection", ("BaroWindCorrection",
"Test wind estimation and baro position error compensation", "Test wind estimation and baro position error compensation",
self.fly_wind_baro_compensation), self.fly_wind_baro_compensation),
("SetpointGlobalPos",
"Test setpoint global position",
lambda: self.test_set_position_global_int()),
("SetpointGlobalVel",
"Test setpoint global velocity",
lambda: self.test_set_velocity_global_int()),
]) ])
return ret return ret