icono Stick

When performing HIL simulations, the user only uses one Autopilot 1x. Follow the steps below to configure the stick for this case:

  1. 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

    ../../../../_images/stick_ground_1.png

    Simulation - Digital Input configuration

  2. 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.

    ../../../../_images/stick_ground_2.png

    Simulation - GPIO configuration

  3. Go to Stick menu \(\rightarrow\) Transmitter 0 panel \(\rightarrow\) PPM tab.

    Select the brand of transmitter that applies.

    ../../../../_images/stick_ground_3.png

    Simulation - PPM configuration

  4. Go to Stick menu \(\rightarrow\) Transmitter 0 panel \(\rightarrow\) Output tab.

    Just click on Enable.

    ../../../../_images/enable_output.png

    Simulation - Output configuration

  5. 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.

    ../../../../_images/stick_program1.png

    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.

    ../../../../_images/address_stick_sim.png

    Simulation - Stick block configuration