mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 16:33:34 +08:00
* sih: Move sih out of work queue
This reverts commit bb7dd0cf00.
* sih-sim: Enable sih in sitl, together with lockstep
* sih-sim: new files for sih: quadx and airplane
* sih: Added tailsitter for sih-sitl simulation
* sitl_target: Added seperate target loop for sih
* jmavsim_run: Allow jmavsim to run in UDP mode
* lockstep: Post semaphore on last lockstep component removed
* sih-sim: Added display for effectively achieved speed
* sih: increase stack size
* sih-sim: Improved sleep time computation, fixes bug of running too fast
* sitl_target: place omnicopter in alphabethic order
Co-authored-by: romain-chiap <romain.chiap@gmail.com>
Co-authored-by: Matthias Grob <maetugr@gmail.com>
34 lines
757 B
Bash
34 lines
757 B
Bash
#!/bin/sh
|
|
#
|
|
# @name Plane SITL for SIH
|
|
#
|
|
# @type Plane
|
|
#
|
|
# @maintainer Romain Chiappinelli <romain.chiap@gmail.com>
|
|
|
|
. ${R}etc/init.d/rc.fw_defaults
|
|
|
|
set MIXER AERT
|
|
|
|
# disable some checks to allow to fly:
|
|
# - with usb
|
|
param set-default CBRK_USB_CHK 197848
|
|
# - without real battery
|
|
param set-default CBRK_SUPPLY_CHK 894281
|
|
# - without safety switch
|
|
param set-default COM_PREARM_MODE 0
|
|
param set-default CBRK_IO_SAFETY 22027
|
|
|
|
param set-default BAT_N_CELLS 3
|
|
|
|
param set SIH_T_MAX 6.0
|
|
param set SIH_MASS 0.3
|
|
param set SIH_IXX 0.00402
|
|
param set SIH_IYY 0.0144
|
|
param set SIH_IZZ 0.0177
|
|
param set SIH_IXZ 0.00046
|
|
param set SIH_KDV 0.2
|
|
|
|
param set SIH_VEHICLE_TYPE 1 # sih as fixed wing
|
|
param set RWTO_TKOFF 1 # enable takeoff from runway (as opposed to launched)
|