virtual channel as scalar

More
24 Jul 2016 16:39 #52098 by jjk836
virtual channel as scalar was created by jjk836
Is it allowed to use a virtual channel as a scaler?
[channel1]
template=complex
[mixer]
src=AIL
dest=Ch1
scalar=Virt7
curvetype=expo
points=25,25
...
[virtchan7]
name=pwrlevel
template=complex
[mixer]
src=AIL
dest=Virt7
usetrim=0
curvetype=fixed
scalar=50
[mixer]
src=AIL
dest=Virt7
usetrim=0
curvetype=fixed
switch=FMODE1
scalar=70

Doesn't seem to work.

My ini file repository bitbucket.org/jjk836/devo10

Please Log in or Create an account to join the conversation.

More
25 Jul 2016 04:20 #52117 by mwm
Replied by mwm on topic virtual channel as scalar
No, you have to use constants as scalars.

What you can do is use the virtual channel as a source, and use the "mul" mix type, which will multiple the incoming value by the virtual channel value (i.e - 50%, or -36%, or whatever). That works a treat, and I've used it to dial the rates on a devo 10.

Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.

My remotely piloted vehicle ("drone") is a yacht.

Please Log in or Create an account to join the conversation.

Time to create page: 0.034 seconds
Powered by Kunena Forum