主要做了几个改进
一是加大了比例,飞起来灵活一点点
二是用FDOM 赋值给6通道,控制翻滚,打一次并打摇杆一次翻滚一次
三是用GEAR赋值给9通道,开启和关闭无头模式,这个要注意,翻滚了几次再开这个无头模式,飞机自己会搞不清哪个方向是头。
四是用MIX赋值给10通道,开启和关闭自动返航,这个最没意思,我观察到的飞行状态就是急倒退。
以下是脚本:
name=H36
mixermode=Advanced
type=plane
[radio]
protocol=MJXq
num_channels=12
tx_power=10mW
[protocol_opts]
Format=E010
[channel1]
scalar-=250
template=simple
[mixer]
src=AIL
dest=Ch1
[channel2]
scalar-=250
template=simple
[mixer]
src=ELE
dest=Ch2
[channel3]
template=simple
[mixer]
src=THR
dest=Ch3
[channel4]
scalar-=200
template=simple
[mixer]
src=RUD
dest=Ch4
[channel6]
template=complex
[mixer]
src=Ch6
dest=Ch6
switch=FMODE0
curvetype=3point
points=-100,-100,-100
[mixer]
src=Ch6
dest=Ch6
switch=FMODE1
usetrim=0
curvetype=3point
points=0,0,0
[mixer]
src=Ch6
dest=Ch6
switch=FMODE2
usetrim=0
curvetype=3point
points=100,100,100
[channel9]
template=complex
[mixer]
src=Ch9
dest=Ch9
switch=GEAR0
usetrim=0
curvetype=3point
points=-100,-100,-100
[mixer]
src=Ch9
dest=Ch9
switch=GEAR1
usetrim=0
curvetype=3point
points=100,100,100
[channel10]
template=complex
[mixer]
src=Ch10
dest=Ch10
switch=MIX0
usetrim=0
curvetype=3point
points=-100,-100,-100
[mixer]
src=Ch10
dest=Ch10
switch=MIX1
usetrim=0
curvetype=3point
points=0,0,0
[mixer]
src=Ch10
dest=Ch10
switch=MIX2
usetrim=0
curvetype=3point
points=100,100,100
[trim1]
src=LEFT_V
pos=TRIMLV+
neg=TRIMLV-
[trim2]
src=RIGHT_V
pos=TRIMRV+
neg=TRIMRV-
[trim3]
src=LEFT_H
pos=TRIMLH+
neg=TRIMLH-
[trim4]
src=RIGHT_H
pos=TRIMRH+
neg=TRIMRH-
[timer2]
type=countdown
time=10
[datalog]
switch=None
rate=1 sec
[safety]
Auto=min
[gui-128x64]
V-trim=59,10,1
H-trim=5,59,3
V-trim=65,10,2
H-trim=74,59,4
Small-box=2,22,Ch3
Small-box=2,31,Timer1
Small-box=2,40,Timer2
Model=75,20
Battery=102,1
Toggle=4,10,0,3,0,RUD DR
Toggle=13,10,0,5,0,ELE DR
Toggle=22,10,0,4,0,AIL DR
Toggle=31,10,0,0,0,None
Toggle=40,10,0,0,0,None
TxPower=102,7
quickpage1=Telemetry monitor
|