mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
Defined the new tilted hex airframe
This commit is contained in:
parent
cf195b0755
commit
82d52d96c5
30
ROMFS/px4fmu_common/init.d/airframes/6100_tilt_hex
Normal file
30
ROMFS/px4fmu_common/init.d/airframes/6100_tilt_hex
Normal file
@ -0,0 +1,30 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# @name Hexarotor x with tilted arms
|
||||
#
|
||||
# @url http://theairlab.org/
|
||||
#
|
||||
# @type Tilt-Hexarotor
|
||||
# @class Copter
|
||||
#
|
||||
# @output MAIN1 motor 1
|
||||
# @output MAIN2 motor 2
|
||||
# @output MAIN3 motor 3
|
||||
# @output MAIN4 motor 4
|
||||
# @output MAIN5 motor 5
|
||||
# @output MAIN6 motor 6
|
||||
#
|
||||
# @output AUX1 feed-through of RC AUX1 channel
|
||||
# @output AUX2 feed-through of RC AUX2 channel
|
||||
# @output AUX3 feed-through of RC AUX3 channel
|
||||
#
|
||||
# @maintainer Azarakhsh Keipour <keipour@cmu.edu>
|
||||
#
|
||||
|
||||
sh /etc/init.d/rc.mc_defaults
|
||||
|
||||
# Set mixer
|
||||
set MIXER hexa_tilt
|
||||
|
||||
# Need to set all 8 channels
|
||||
set PWM_OUT 12345678
|
||||
3
ROMFS/px4fmu_common/mixers/hexa_tilt.main.mix
Normal file
3
ROMFS/px4fmu_common/mixers/hexa_tilt.main.mix
Normal file
@ -0,0 +1,3 @@
|
||||
# Hexarotor with tilted arms
|
||||
|
||||
R: 6t 10000 10000 10000 0
|
||||
@ -92,6 +92,8 @@ class ParameterGroup(object):
|
||||
return "Rover"
|
||||
elif (self.name == "Boat"):
|
||||
return "Boat"
|
||||
elif (self.name == "Tilt-Hexarotor"):
|
||||
return "HexaRotorX"
|
||||
return "AirframeUnknown"
|
||||
|
||||
def GetParams(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user