mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Initial TF-B1 commit
This commit is contained in:
committed by
Lorenz Meier
parent
c2a68debd9
commit
1fea1a2822
31
ROMFS/px4fmu_common/init.d/airframes/18001_TF-B1
Normal file
31
ROMFS/px4fmu_common/init.d/airframes/18001_TF-B1
Normal file
@@ -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
|
||||||
@@ -153,6 +153,9 @@ px4_add_romfs_files(
|
|||||||
17002_TF-AutoG2
|
17002_TF-AutoG2
|
||||||
17003_TF-G2
|
17003_TF-G2
|
||||||
|
|
||||||
|
# [18000, 18999] Air _global_position_sub
|
||||||
|
18001_TF-B1
|
||||||
|
|
||||||
24001_dodeca_cox
|
24001_dodeca_cox
|
||||||
|
|
||||||
50000_generic_ground_vehicle
|
50000_generic_ground_vehicle
|
||||||
|
|||||||
@@ -96,6 +96,8 @@ class ParameterGroup(object):
|
|||||||
return "Rover"
|
return "Rover"
|
||||||
elif (self.name == "Boat"):
|
elif (self.name == "Boat"):
|
||||||
return "Boat"
|
return "Boat"
|
||||||
|
elif (self.name == "Balloon"):
|
||||||
|
return "Balloon"
|
||||||
return "AirframeUnknown"
|
return "AirframeUnknown"
|
||||||
|
|
||||||
def GetParams(self):
|
def GetParams(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user