mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-20 12:49:06 +08:00
Flow mockup (#14054)
* Add optical flow mockup model * Update Tools.sitl_gazebo
This commit is contained in:
parent
00728dab18
commit
92e75452f5
21
ROMFS/px4fmu_common/init.d-posix/1017_iris_opt_flow_mockup
Normal file
21
ROMFS/px4fmu_common/init.d-posix/1017_iris_opt_flow_mockup
Normal file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# @name 3DR Iris Quadrotor SITL (Optical Flow)
|
||||
#
|
||||
# @type Quadrotor Wide
|
||||
#
|
||||
|
||||
sh /etc/init.d-posix/10016_iris
|
||||
|
||||
if [ $AUTOCNF = yes ]
|
||||
then
|
||||
# EKF2
|
||||
param set EKF2_AID_MASK 2
|
||||
param set SENS_FLOW_ROT 0
|
||||
|
||||
# LPE: Flow-only mode
|
||||
param set LPE_FUSION 242
|
||||
param set LPE_FAKE_ORIGIN 1
|
||||
|
||||
param set MPC_ALT_MODE 2
|
||||
fi
|
||||
Loading…
x
Reference in New Issue
Block a user