Skip to content
Snippets Groups Projects
  1. Jul 29, 2016
  2. Jul 15, 2016
  3. Jul 11, 2016
  4. Jul 10, 2016
  5. Jul 07, 2016
    • Beat Küng's avatar
      sensor_combined: replace accel & gyro integral with value, use float for dt · 9c73eae9
      Beat Küng authored
      Reason: the value is easier to read & handle (for example plotting). In
      most places the value is needed, not the integral.
      
      Note that this breaks the replay format for sdlog2 replay
      9c73eae9
    • Beat Küng's avatar
      sensor_combined.msg: make timestamps relative · c5ea4b43
      Beat Küng authored
      This is needed for the new logger & saves some space as well.
      c5ea4b43
    • Beat Küng's avatar
      sensor_combined.msg: use uint32 for integral_dt · c66f2624
      Beat Küng authored
      There is no reason to make this 64 bit. The same should be done in
      the sensor raw messages, together with further cleanup.
      c66f2624
    • Beat Küng's avatar
      sensors: move voting into sensors module · d846ad5d
      Beat Küng authored
      - voting is now at a central place instead of duplicated within the
        estimators
        -> this also means that estimators that did not do voting so far,
           now have voting, like ekf2
      - estimators requiring more than that can still subscribe to the raw
        sensors
      - allows sensors_combined to be 3 times smaller
        - reduces logger, memcpy (cache) & RAM overhead
      - all modules requiring only 1 or 2 sensor values now automatically get
        the voted result
      - this also adds voting to baro
      d846ad5d
    • Beat Küng's avatar
      sensor_combined cleanup: remove many unneeded fields · b4ecc5a8
      Beat Küng authored
      Decreases the message size from 780 to 280 bytes.
      In particular, all modules using sensor_combined must use the integral now.
      The sensor value can easily be reconstructed by dividing with dt.
      
      Voters now need to be moved into sensors module, because error count and
      priority is removed from the topic.
      
      Any module that requires additional data from a sensor can subscribe to
      the raw sensor topics.
      
      At two places, values are set to zero instead of subscribing to the raw
      sensors (with the assumption that no one reads them):
      - mavlink mavlink_highres_imu_t::abs_pressure
      - sdlog2: sensor temperatures
      b4ecc5a8
    • Beat Küng's avatar
      cleanup sensor_combined: remove adc & differential_pressure fields · c407123a
      Beat Küng authored
      These are not really used. differential_pressure is just copied from the
      topic with the same name.
      
      for sdlog2 we assume no one needs the diff pressure fields and set it to 0.
      We plan to switch to the new logger soon anyway.
      c407123a
  6. Jul 06, 2016
    • Beat Küng's avatar
      gps file dump: re-implement with an uORB topic & write to the log file (#4987) · 09ecc84c
      Beat Küng authored
      Drawbacks of the previous method: when writing to the SD card, there are
      high delays in the write() call of several 100ms, every now and then. The
      frequency and length of these events depend on:
      - SD card
      - used logger bandwidth
      - bandwidth of gps data (RTCM)
      Since the whole gps thread was blocked during this period, it lead to
      gps timeouts and lost module.
      
      What we do now is: publish an orb topic with queuing. This makes it async
      and the logger takes care of buffering. This means it's best to:
      - use high logger rate
      - use large logger buffer
      - reduce logger bandwith by disabling unused topics
      09ecc84c
  7. Jun 24, 2016
  8. Jun 23, 2016
  9. Jun 08, 2016
  10. Jun 02, 2016
  11. May 28, 2016
  12. May 22, 2016
  13. May 19, 2016
  14. May 17, 2016
  15. May 15, 2016
  16. May 14, 2016
  17. May 13, 2016
  18. May 12, 2016
Loading