akash-roboticist / open9x

Automatically exported from code.google.com/p/open9x
0 stars 0 forks source link

Custom switch v>ofs for CH3 (throttle) ignores safety switch for CH3 #165

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which board (stock / gruvin9x / sky9x) are you using?
Stock

What is your open9x FW version?
r1692
open9x-stock-frsky-audio-potscroll-autoswitch-en

What is your open9x EEPROM version?
212-2

What steps will reproduce the problem?
1. Make custom function: !THR SafetyCH3 -100 [check]
2. Make custom switch: CS1 v>ofs CH3 -100

What is the expected output? What do you see instead?
CS1 should be only triggered when CH3 > -100, ie throttle stick is increased 
and THR is engaged.
Instead CS1 is triggered by throttle stick even when THR is off even though CH3 
stays at -100.

Please provide any additional information below.
The reason for making this CS is because timer can not be triggered by CH3 
directly, and THs ignores the safety function. 

Original issue reported on code.google.com by mxm...@gmail.com on 8 Dec 2012 at 9:15

GoogleCodeExporter commented 8 years ago
I now realize that a better way to achieve what I want is to set T-Trace to 
CH3. But still the method described above should probably work.

Original comment by mxm...@gmail.com on 9 Dec 2012 at 1:13

GoogleCodeExporter commented 8 years ago
T-Trace to CH3 is made for it indeed. THs/t/% all take account of safety 
switch, servo reverse and limits when doing it like this.

Original comment by bernet.a...@gmail.com on 9 Dec 2012 at 12:07