Replies

  • Further updates.

    Wiped everything and re downloaded NG from the repo.  Install libraries in correct place and yipee X mode now works.  How odd. Anyways all good for some flight testing tomorrow.

    One thing ive found thats worth mentioning is i cant switch out of gps lock using aux switch if you have switched to acro whilst in gps mode
    sequence of events to reproduce is :-
    power up and arm motors.  Green light blinking fast (acro mode)
    switch flight mode switch, green led flashes slowly (stable mode)
    swith to pos and alt hold with aux switch, green light flashing slowly and orange lght on
    now switch flight mode switch to acro mode
    now try to get out of pos and alt hold with aux switch, switch it and the orange light still stays on

    Maybe i misunderstood but thought there was only 3 modes in NG (Acro, Stable and Hold)

    Regards,

    Tony

  • Hi,

    Just an update, i cant seem to get NG to operate motors from radio signals correctly when in X mode, the code :-

          if(flightOrientation) {
            // For X mode we make a mix in the input
            float aux_roll = (ch_roll-roll_mid) / STICK_TO_ANGLE_FACTOR;
            float aux_pitch = (ch_pitch-pitch_mid) / STICK_TO_ANGLE_FACTOR;
            command_rx_roll = aux_roll - aux_pitch;
            command_rx_pitch = aux_roll + aux_pitch;
          } else {
            command_rx_roll = (ch_roll-roll_mid) / STICK_TO_ANGLE_FACTOR;       // Convert stick position to absolute angles
            command_rx_pitch = (ch_pitch-pitch_mid) / STICK_TO_ANGLE_FACTOR;
          }

    doesn't work correectly and with each cyclic input from the transmitter only operates one motor at a time as if its in + mode.  Even if i remove the condition statement it doesn't seem to work.  Has any one flown NG in X mode??

    Tony

  • In RC1 you can switch between + and X with just a one line code change the frame stays the same but its not clear whether they have kept that approach for NG.  The mode change is now done on a switch.  If you set the switch to up for X mode the CLI confirms its in X mode but the machine responds to both radio inputs and tilt changes as if it was in + mode.

    Tony

  • And is there a physical difference on how the arms are mounted or are they mounted the same way in + and x mode? The frame guide doesnt tell you that.

  • Hi,

    just a quick question getting back to topic.  Is the orientation of the APM in NG the same as it was in Beta, i know the mode is now chosen by dip switch one 1 (X mode is up).  Is the APM pointing between arms or looking down one arm as in Beta code??

    Regards,

    Tony

  • Im not turning the board. The board runs along the same axis as the front and rear arms in + mode. You can then make a small change in the software to fly in X mode and NOT change the board, this is great and works fine.

    When in X mode and viewing the raw sensor data in the configurator via XBee while flying you can see that when you put in pure forwards and backwards commands the sensor data show roll and pitch angle changes. The configurator only knows about the board sitting front to back and not 45 degrees when in X mode.

    Tony
  • Hi,
    I am running RC1 code and configurator 1.2.2.
    Regards,
    Tony
  • Hi,
    There is one problem, im X mode now with the board loacated at 45 degrees in the configurator the artificial horizon os not accurate as to what the quad is doing. If you put in just left and right roll imputs you see the pitch go down and then up.
    This is also shows in the raw sensor data screen under rolls and pitch angles.
    Can this be fixed.
    Regards,
    Tony
  • Hi,
    What are the pros and cons for mounting the APM at 45 degress to forward when in X mode. I build the pre-release and had X mode with the APM pointing forward out facing the center of the 2 front arms. I would have though this would provide more accurate sensing when you command pitch and rolls inputs. Any comments welcome.
    Regards,
    Tony
  • read the sourcecode, it will tell you ;)
    it supports it
This reply was deleted.

Activity