Stick¶
When performing HIL simulations, the user only uses one Autopilot 1x. Follow the steps below to configure the stick for this case:
Go to Input/Output menu \(\rightarrow\) Digital Input panel.
Producer: CAP 0
Enabled
Select the pin to which the transmitter is connected, in this case EQEP_A
Edge detection: First rising edge
Consumer: PPM 0
Simulation - Digital Input configuration¶
Go to Connections menu \(\rightarrow\) GPIO panel.
Verify that the pin to which the transmitter is connected, in this case GPIO 16 (i.e., EQEP A), is set as input.
Simulation - GPIO configuration¶
Go to Stick menu \(\rightarrow\) Transmitter 0 panel \(\rightarrow\) PPM tab.
Select the brand of transmitter that applies.
Simulation - PPM configuration¶
Go to Stick menu \(\rightarrow\) Transmitter 0 panel \(\rightarrow\) Output tab.
Just click on Enable.
Simulation - Output configuration¶
Go to Block Programs menu \(\rightarrow\) Stick program \(\rightarrow\) Double click on the Stick block \(\rightarrow\) Edit sources.
Note
This is the Stick progam explained in the 1x Air configuration section of this manual.
Stick program¶
Input the Local address to receive the stick information from that source and put it as the highest priority in the priority table. We recommend a Time Out of 0.4 s.
Simulation - Stick block configuration¶