mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 08:36:08 +08:00
Add vision velocity integration test (#14818)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# @name 3DR Iris Quadrotor SITL (Vision Velocity)
|
||||
#
|
||||
# @type Quadrotor Wide
|
||||
#
|
||||
|
||||
sh /etc/init.d-posix/10016_iris
|
||||
|
||||
if [ $AUTOCNF = yes ]
|
||||
then
|
||||
# EKF2: Vision velocity and heading
|
||||
param set EKF2_AID_MASK 272
|
||||
param set EKF2_EV_DELAY 5
|
||||
fi
|
||||
+1
-1
Submodule Tools/sitl_gazebo updated: 0823f5e006...d76ac7f9f9
@@ -35,7 +35,7 @@ ExternalProject_Add(sitl_gazebo
|
||||
SOURCE_DIR ${PX4_SOURCE_DIR}/Tools/sitl_gazebo
|
||||
CMAKE_ARGS
|
||||
-DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}
|
||||
-DSEND_VISION_ESTIMATION_DATA=ON
|
||||
-DSEND_ODOMETRY_DATA=ON
|
||||
BINARY_DIR ${PX4_BINARY_DIR}/build_gazebo
|
||||
INSTALL_COMMAND ""
|
||||
DEPENDS
|
||||
|
||||
@@ -6,22 +6,33 @@
|
||||
[
|
||||
{
|
||||
"model": "iris",
|
||||
"vehicle": "iris",
|
||||
"test_filter": "[multicopter],[offboard]",
|
||||
"timeout_min": 10
|
||||
},
|
||||
{
|
||||
"model": "iris_opt_flow_mockup",
|
||||
"vehicle": "iris_opt_flow_mockup",
|
||||
"test_filter": "[multicopter][offboard][nogps]",
|
||||
"timeout_min": 10
|
||||
},
|
||||
{
|
||||
"model": "iris_vision_velocity",
|
||||
"vehicle": "iris_vision",
|
||||
"test_filter": "[multicopter][offboard][nogps]",
|
||||
"timeout_min": 10,
|
||||
"max_speed_factor": 1
|
||||
},
|
||||
{
|
||||
"model": "iris_vision",
|
||||
"vehicle": "iris_vision",
|
||||
"test_filter": "[multicopter][offboard][nogps]",
|
||||
"timeout_min": 10,
|
||||
"max_speed_factor": 1
|
||||
},
|
||||
{
|
||||
"model": "standard_vtol",
|
||||
"vehicle": "standard_vtol",
|
||||
"test_filter": "[multicopter][vtol]",
|
||||
"timeout_min": 10
|
||||
}
|
||||
|
||||
@@ -377,7 +377,7 @@ class Tester:
|
||||
gzserver_runner = ph.GzserverRunner(
|
||||
os.getcwd(),
|
||||
log_dir,
|
||||
test['model'],
|
||||
test['vehicle'],
|
||||
case,
|
||||
self.get_max_speed_factor(test),
|
||||
self.verbose)
|
||||
@@ -386,7 +386,7 @@ class Tester:
|
||||
gzmodelspawn_runner = ph.GzmodelspawnRunner(
|
||||
os.getcwd(),
|
||||
log_dir,
|
||||
test['model'],
|
||||
test['vehicle'],
|
||||
case,
|
||||
self.verbose)
|
||||
self.active_runners.append(gzmodelspawn_runner)
|
||||
|
||||
Reference in New Issue
Block a user