1. 10 Jun, 2015 1 commit
    • Dominic Clifton's avatar
      Reduce maximum servos from 10 to 8. · 9a8a3167
      Dominic Clifton authored
      1) the 2 extra servos were not used for anything, yet.
      2) the MSP packet to set ALL the servo configurations in one go is
      larger than the MSP input buffer size.
      
      Likely the MSP_SET_SERVO_CONF should be updated with command that takes
      an index of a servo to configure, as per mode ranges/colors/leds/etc.
      
      Fixes #1002
      9a8a3167
  2. 04 Jun, 2015 1 commit
  3. 28 May, 2015 2 commits
  4. 26 May, 2015 1 commit
  5. 22 May, 2015 1 commit
  6. 20 May, 2015 2 commits
    • Dominic Clifton's avatar
      20a6f829
    • ProDrone's avatar
      Instead of trying to latch the desired features... · b75de91f
      ProDrone authored
      ...and apply them after a soft reset (which also required an additional
      write to flash), it is now such that features and settings are modified
      and stored in flash as before.
      
      After initialisation completes, the active features are latched and are
      not to be modified until the next startup. This guarantees that all
      saved modifications are persistent even when power is switched of
      (without a reset in between).
      
      When a soft reset is required, the active features and the currently
      configured features are used to detect if the oneshot feature has
      changed state, in which case motor PWM outputs are stopped and soft
      reset is done after a 1.5 second delay.
      
      During normal operation the active features will not change and all
      changes to features ordered via MSP commands or the CLI are applied to
      the configuration that gets saved to flash.
      
      The required effect of modifying features without changing the actions
      in the running mainloop is achieved. The user needs to be aware that
      changes to features are not applied immidiatly.
      b75de91f
  7. 17 May, 2015 1 commit
  8. 08 May, 2015 1 commit
  9. 07 May, 2015 1 commit
  10. 06 May, 2015 2 commits
  11. 04 May, 2015 2 commits
  12. 26 Apr, 2015 1 commit
  13. 15 Apr, 2015 1 commit
    • Dominic Clifton's avatar
      First-cut of a refactored failsafe system. · c8c0c856
      Dominic Clifton authored
      * fixes issue where indicators would flash when SBus RX entered failsafe
      mode.
      * fixes bug where turning off a TX for an SBus RX would instantly disarm
      when using a switch to arm when the channel went outside the arming
      range.
      * introduces failsafe phases to make the system more understandable.
      * allows the system to ask if rxSignalIsBeing received for all RX
      systems: PPM/PWM/SerialRX/MSP.  Also works when a serial data signal is
      still being received but the data stream indicates a failsafe condition
      - e.g.  SBus failsafe flags.
      * failsafe settings are no-longer per-profile.
      
      Untested: Sumd/Sumh/XBus/MSP (!)
      Tested: SBus X8R, Lemon RX Sat, X8R in PWM, Spektrum PPM.
      c8c0c856
  14. 14 Apr, 2015 1 commit
  15. 29 Mar, 2015 1 commit
  16. 28 Mar, 2015 1 commit
  17. 25 Mar, 2015 1 commit
  18. 22 Mar, 2015 1 commit
  19. 17 Mar, 2015 2 commits
  20. 13 Mar, 2015 1 commit
  21. 11 Mar, 2015 1 commit
  22. 09 Mar, 2015 2 commits
    • tricopterY's avatar
      Update serial_msp.c · ced280ac
      tricopterY authored
      Enhanced MSP_RC_TUNING and MSP_SET_RC_TUNING. Configurator's PID Tuning tab can be enabled to update TPA Breakpoint.  
      PID Tuning tab must be enhanced for this feature. Agnostic if older versions of Configurator are used.
      ced280ac
    • Dominic Clifton's avatar
      Rename some PID controller methods. · bc8e53a9
      Dominic Clifton authored
      See #461.
      bc8e53a9
  23. 07 Mar, 2015 1 commit
  24. 03 Mar, 2015 3 commits
  25. 26 Feb, 2015 1 commit
  26. 23 Feb, 2015 1 commit
  27. 22 Feb, 2015 1 commit
  28. 18 Feb, 2015 1 commit
  29. 13 Feb, 2015 2 commits
  30. 11 Feb, 2015 1 commit
    • Dominic Clifton's avatar
      Refactor serial port configuration, stage 1. · 5163bef0
      Dominic Clifton authored
      Tested and working:
      * multiple MSP ports at different baud rates.
      * cli on any MSP port.
      * GPS
      * gps passthough on currently active cli port.
      
      Example config used for testing:
      
      feature SOFTSERIAL
      feature GPS
      feature RX_PPM
      serial_port_1_functions = 1
      serial_port_1_baudrate = 115200
      serial_port_2_functions = 128
      serial_port_2_baudrate = 115200
      serial_port_3_functions = 1
      serial_port_3_baudrate = 19200
      serial_port_4_functions = 0
      serial_port_4_baudrate = 0
      
      Known broken:
      * Telemetry and shared serial ports
      * Telemetry when unarmed.
      
      Probably broken:
      * Blackbox on shared port.
      
      Untested.
      * Serial RX.
      * Blackbox.
      5163bef0
  31. 09 Feb, 2015 1 commit