new airframe for sih, HIL_STATE_QUATERION sent through MAVLink

This commit is contained in:
Beat Küng
2019-04-12 09:25:07 +02:00
parent c09e9ec97f
commit 914a9b78b6
42 changed files with 225 additions and 103 deletions
@@ -0,0 +1,19 @@
#!/bin/sh
#
# @name SIH Quadcopter X
#
# @type Simulation
# @class Copter
#
# @maintainer Romain Chiappinelli <romain.chiap@gmail.com>
#
sh /etc/init.d/rc.mc_defaults
set MIXER quad_x
set PWM_OUT 1234
# set HIL to avoid sensors startup
param set SYS_HITL 1
param set SYS_SIH 1
@@ -38,6 +38,7 @@ px4_add_romfs_files(
1000_rc_fw_easystar.hil
1001_rc_quad_x.hil
1002_standard_vtol.hil
1100_rc_quad_x_sih.hil
# [2000, 2999] Standard planes"
2100_standard_plane
+6
View File
@@ -337,6 +337,12 @@ else
# disable GPS
param set GPS_1_CONFIG 0
# start the SIH if needed
if param compare SYS_SIH 1
then
sih start
fi
else
#
# board sensors: rc.sensors