Skip to content
Snippets Groups Projects
  1. Jul 22, 2018
    • Paul Riseborough's avatar
      posix-configs: Update optical flow SITL test parameter defaults · 7ff23f78
      Paul Riseborough authored
      Use baro for height in EKF.
      Use terrain hold mode in height controller.
      7ff23f78
    • Paul Riseborough's avatar
      FlightTasks: Fix transition between use of local and ground height (+2 squashed commits) · 2baa6caa
      Paul Riseborough authored
      Squashed commits:
      [ed2a243] FlightTasks: Preserve control loop tuning when applying max altitude limit
      [b33b947] FlightTasks: Add terrain hold function
      
      This new mode of altitude control uses terrain following when holding position and normal altitude control when moving.
      2baa6caa
    • Paul Riseborough's avatar
      mc_pos_control: Add parameter support for terrain hold function · 82780e33
      Paul Riseborough authored
      This new mode of altitude control uses terrain following when holding position and normal altitude control when moving.
      82780e33
    • mcsauder's avatar
      Formatted whitespace and comments, standardized comment block styles and... · 14a8afb6
      mcsauder authored
      Formatted whitespace and comments, standardized comment block styles and single line comments, and added capitalization and full stops to comments wherever appropriate.
      14a8afb6
    • Kurt Kiefer's avatar
      spektrum_rssi: clear PX4IO_P_SETUP_FEATURES_ADC_RSSI when valid · a114450f
      Kurt Kiefer authored
      When we're getting valid rssi input from the telemetry receiver,
      clear the flag PX4IO_P_SETUP_FEATURES_ADC_RSSI in r_setup_features.
      a114450f
    • Kurt Kiefer's avatar
      spektrum_rssi: initialize rssi lookup as constexpr · fc16dce8
      Kurt Kiefer authored
      Rather than initializing the rssi percentage lookup table at runtime
      on the heap, we would like it to be stored in flash.
      
      This change pre-computes the rssi lookup table.
      fc16dce8
    • Kurt Kiefer's avatar
      Gather RSSI data from Spektrum Telemetry receivers · 597372be
      Kurt Kiefer authored
      On SPM4649T receivers with firmware versions at least 1.1RC9, the
      serial data will contain an rssi value in dbm, as outlined in the
      Remote Receiver Interfacing document section 8.3.1.
      
      If the value received is greater than or equal to zero, the receiver
      does not support rssi data, and the incoming value will be ignored.
      However, if the value is negative, we can use the rssi value.
      
      When we have a valid rssi, it gets mapped to a percentage from 0 to
      100 as expected by mavlink. This mapping is constructed as a
      logarithmic function over Spektrum's published minimum and maximum
      rssi values, -92dBm to -42dBm as 0 to 100:
      100 Log10[1 + (x - min) * (9 / (max - min))]
      
      This change updates all calls to the dsm input rountes to return
      the rssi value.
      
      Note that one place this doesn't work with the px4io enabled.
      There is a comment left in the absence of analog rssi that:
      "we do not actually get digital RSSI regs[PX4IO_P_RAW_RC_NRSSI]".
      This restriction has been left in place, as removing it exposes a
      problem where the frequency of the control tick is greater than
      that of valid dsm frames so the rssi isn't valid every cycle.
      597372be
  2. Jul 21, 2018
  3. Jul 20, 2018
Loading