diff --git a/ROMFS/px4fmu_common/init.d/airframes/18001_TF-B1 b/ROMFS/px4fmu_common/init.d/airframes/18001_TF-B1 new file mode 100644 index 0000000000..dc91414f8a --- /dev/null +++ b/ROMFS/px4fmu_common/init.d/airframes/18001_TF-B1 @@ -0,0 +1,31 @@ +#!/bin/sh +# +# @name ThunderFly stratospheric balloon TF-B1 +# +# @type Balloon +# @class Balloon +# +# +# @url https://github.com/ThunderFly-aerospace/TF-B1/ +# @maintainer ThunderFly s.r.o. +# +# @board px4_fmu-v2 exclude +# @board intel_aerofc-v1 exclude +# @board bitcraze_crazyflie exclude +# + +. ${R}etc/init.d/rc.fw_defaults + +if [ $AUTOCNF = yes ] +then + param set BAT_CAPACITY 2500 + param set BAT_N_CELLS 2 + + param set SENS_BOARD_ROT 8 + param set MAV_TYPE 8 # MAV_TYPE_FREE_BALLOON + +fi + + +set MIXER TF-AutoG2 +set MIXER_AUX pass diff --git a/ROMFS/px4fmu_common/init.d/airframes/CMakeLists.txt b/ROMFS/px4fmu_common/init.d/airframes/CMakeLists.txt index 9debc7d5c4..e8e7b982c2 100644 --- a/ROMFS/px4fmu_common/init.d/airframes/CMakeLists.txt +++ b/ROMFS/px4fmu_common/init.d/airframes/CMakeLists.txt @@ -153,6 +153,9 @@ px4_add_romfs_files( 17002_TF-AutoG2 17003_TF-G2 + # [18000, 18999] Air _global_position_sub + 18001_TF-B1 + 24001_dodeca_cox 50000_generic_ground_vehicle diff --git a/Tools/px4airframes/srcparser.py b/Tools/px4airframes/srcparser.py index 1efdb0244e..6a8a8bcd4a 100644 --- a/Tools/px4airframes/srcparser.py +++ b/Tools/px4airframes/srcparser.py @@ -96,6 +96,8 @@ class ParameterGroup(object): return "Rover" elif (self.name == "Boat"): return "Boat" + elif (self.name == "Balloon"): + return "Balloon" return "AirframeUnknown" def GetParams(self):