Page 1 of 1

[SOLVED]helper.inputDeviceReader not linked

Posted: Sat Apr 16, 2016 8:55 am
by Mitteau
Hello everybody,
I am trying to install flip-flop on althold command. Everything works fine except:
I cannot send the command to InputReaderInterface instantiated class. The command seems to be

self.helper.inputDeviceReader.enable_alt_hold(enabled) - line 179 in FlightTab.py

but the command does not reach enable_alt_hold in InputReaderInterface.

Thanks to say her I am wrong.

Regards

Jean-Claude

Re: [SOLVED]helper.inputDeviceReader not linked

Posted: Fri Apr 22, 2016 7:49 am
by Mitteau
Hi
To implement flip-flop command for althold, you need a "bascule" routine. This method have to be installed in inputDevice class, in .../input/inputreaders/__init__.py and not in FlightTab.py.
Regards
Jean-Claude