autotest: ensure we test SET_ROI_SYSID as both command-long and command-int
This commit is contained in:
parent
b4cd3a4d26
commit
8b88dcf336
@ -5213,6 +5213,11 @@ class AutoTestCopter(AutoTest):
|
||||
)
|
||||
self.test_mount_pitch(-89, 5, mavutil.mavlink.MAV_MOUNT_MODE_SYSID_TARGET, hold=2)
|
||||
|
||||
self.run_cmd(mavutil.mavlink.MAV_CMD_DO_SET_ROI_NONE)
|
||||
self.run_cmd_int(
|
||||
mavutil.mavlink.MAV_CMD_DO_SET_ROI_SYSID,
|
||||
p1=self.mav.source_system,
|
||||
)
|
||||
self.mav.mav.global_position_int_send(
|
||||
0, # time boot ms
|
||||
int(roi_lat * 1e7),
|
||||
|
Loading…
Reference in New Issue
Block a user