[SOLVED]helper.inputDeviceReader not linked

Post here to get support
Post Reply
Mitteau
Expert
Posts: 248
Joined: Fri Jan 29, 2016 6:00 am

[SOLVED]helper.inputDeviceReader not linked

Post 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
Mitteau
Expert
Posts: 248
Joined: Fri Jan 29, 2016 6:00 am

Re: [SOLVED]helper.inputDeviceReader not linked

Post 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
Post Reply