forked from Archive/PX4-Autopilot
Initial TF-B1 commit
This commit is contained in:
parent
c2a68debd9
commit
1fea1a2822
|
@ -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
|
||||
17003_TF-G2
|
||||
|
||||
# [18000, 18999] Air _global_position_sub
|
||||
18001_TF-B1
|
||||
|
||||
24001_dodeca_cox
|
||||
|
||||
50000_generic_ground_vehicle
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue