Skip to content

Commit

Permalink
autotest: add test for ship operations
Browse files Browse the repository at this point in the history
autotest: more shipops testing

autotest: add ShipOps_PayloadPlace test

autotest: fixes for ShipOps test

autotest: add test for ship landing which uses odd origin

autotest: add parameter files for ShipOps autotests

autotest: ShipOps: include RTL and use absolute altitude
  • Loading branch information
lthall committed Jun 6, 2024
1 parent 7b43850 commit 14ff773
Show file tree
Hide file tree
Showing 5 changed files with 431 additions and 2 deletions.
48 changes: 48 additions & 0 deletions Tools/autotest/ArduCopter_Tests/ShipOps/ShipLanding.param
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
FOLL_ENABLE,1
FOLL_OFS_TYPE,1
FOLL_ALT_TYPE,0
FOLL_DIST_MAX,10000
FOLL_OFS_X,0
FOLL_OFS_Y,0
FOLL_OFS_Z,0
FOLL_POS_P,0.1
FOLL_SYSID,17
FOLL_YAW_BEHAVE,2
BATT_FS_LOW_ACT,7
FS_GCS_ENABLE,7
FS_THR_ENABLE,7
FS_EKF_ACTION,1
GRIP_ENABLE,1
GRIP_GRAB,1000
GRIP_NEUTRAL,1000
GRIP_REGRAB,0
GRIP_RELEASE,2000
GRIP_TYPE,1
GRIP_CAN_ID,0
INS_GYR_CAL,0
LOG_BITMASK,176127
PSC_ANGLE_MAX,25
RC6_OPTION,174
RC7_OPTION,175
RC8_OPTION,19
RTL_ALT,4500
SERVO9_FUNCTION,146
SERVO9_MAX,2000
SERVO9_MIN,1000
SERVO9_REVERSED,1
SERVO9_TRIM,1500
SERVO10_FUNCTION,28
SERVO10_MAX,2000
SERVO10_MIN,1000
SERVO10_REVERSED,0
SERVO10_TRIM,1500
SIM_SHIP_DSIZE,10
SIM_SHIP_ENABLE,1
SIM_SHIP_OFS_X,0
SIM_SHIP_OFS_Y,0
SIM_SHIP_OFS_Z,0
SIM_SHIP_PSIZE,1000
SIM_SHIP_SPEED,3
SIM_SHIP_SYSID,17
WPNAV_SPEED_DN,250
WPNAV_SPEED_UP,250
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
FOLL_ENABLE,1
FOLL_OFS_TYPE,1
FOLL_ALT_TYPE,0
FOLL_DIST_MAX,10000
FOLL_OFS_X,0
FOLL_OFS_Y,0
FOLL_OFS_Z,0
FOLL_POS_P,0.1
FOLL_SYSID,17
FOLL_YAW_BEHAVE,2
BATT_FS_LOW_ACT,7
FS_GCS_ENABLE,7
FS_THR_ENABLE,7
FS_EKF_ACTION,1
GRIP_ENABLE,1
GRIP_GRAB,1000
GRIP_NEUTRAL,1000
GRIP_REGRAB,0
GRIP_RELEASE,2000
GRIP_TYPE,1
GRIP_CAN_ID,0
INS_GYR_CAL,0
LOG_BITMASK,176127
PSC_ANGLE_MAX,25
RC6_OPTION,174
RC7_OPTION,175
RC8_OPTION,19
RTL_ALT,4500
SERVO9_FUNCTION,146
SERVO9_MAX,2000
SERVO9_MIN,1000
SERVO9_REVERSED,1
SERVO9_TRIM,1500
SERVO10_FUNCTION,28
SERVO10_MAX,2000
SERVO10_MIN,1000
SERVO10_REVERSED,0
SERVO10_TRIM,1500
SIM_SHIP_DSIZE,10
SIM_SHIP_ENABLE,1
SIM_SHIP_OFS_X,0
SIM_SHIP_OFS_Y,0
SIM_SHIP_OFS_Z,0
SIM_SHIP_PSIZE,1000
SIM_SHIP_SPEED,3
SIM_SHIP_SYSID,17
WPNAV_SPEED_DN,250
WPNAV_SPEED_UP,250
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
FOLL_ENABLE,1
FOLL_OFS_TYPE,1
FOLL_ALT_TYPE,0
FOLL_DIST_MAX,10000
FOLL_OFS_X,0
FOLL_OFS_Y,0
FOLL_OFS_Z,0
FOLL_POS_P,0.1
FOLL_SYSID,17
FOLL_YAW_BEHAVE,2
BATT_FS_LOW_ACT,7
FS_GCS_ENABLE,7
FS_THR_ENABLE,7
FS_EKF_ACTION,1
GRIP_ENABLE,1
GRIP_GRAB,1000
GRIP_NEUTRAL,1000
GRIP_REGRAB,0
GRIP_RELEASE,2000
GRIP_TYPE,1
GRIP_CAN_ID,0
INS_GYR_CAL,0
LOG_BITMASK,176127
PSC_ANGLE_MAX,25
RC6_OPTION,174
RC7_OPTION,175
RC8_OPTION,19
RTL_ALT,4500
SERVO9_FUNCTION,146
SERVO9_MAX,2000
SERVO9_MIN,1000
SERVO9_REVERSED,1
SERVO9_TRIM,1500
SERVO10_FUNCTION,28
SERVO10_MAX,2000
SERVO10_MIN,1000
SERVO10_REVERSED,0
SERVO10_TRIM,1500
SIM_SHIP_DSIZE,10
SIM_SHIP_ENABLE,1
SIM_SHIP_OFS_X,0
SIM_SHIP_OFS_Y,0
SIM_SHIP_OFS_Z,0
SIM_SHIP_PSIZE,1000
SIM_SHIP_SPEED,3
SIM_SHIP_SYSID,17
WPNAV_SPEED_DN,250
WPNAV_SPEED_UP,250
Loading

0 comments on commit 14ff773

Please sign in to comment.