Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KLT flow, CAN support and camera driver improvements #68

Open
wants to merge 149 commits into
base: master
Choose a base branch
from

Commits on Jul 25, 2014

  1. implementation of klt based flow on one pyramid level (+/- 1 pixel fl…

    …ow), this implementation needs to be extended with image pyramid with ~3 levels and reimplemented with special instructions and fixed point for bilinear filtering
    tpetri committed Jul 25, 2014
    Configuration menu
    Copy the full SHA
    b7faf41 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2014

  1. added image pyramid, now the maximum flow is around 4 pixels between …

    …frames but depending on the amount of motion blur and lens defocus it can be also much higher. Important: Gyro compensation not implemented currently, the corresponding parameter has no influence. To maintain 400 Hz refresh rate the flow is computed on 9 points in the image in a 3x3 grid, the size of the patch is 5x5 pixels. The code is not yet optimized, feel free to do so.
    tpetri committed Jul 29, 2014
    Configuration menu
    Copy the full SHA
    75cedc7 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2014

  1. moved gyro compensation from flow.c to main.c, removed clamping to ma…

    …x flow value, the clamping should happen on the gyro rates not on the final flow output
    tpetri committed Jul 30, 2014
    Configuration menu
    Copy the full SHA
    de9a6e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    32e6107 View commit details
    Browse the repository at this point in the history
  3. sign mistake

    tpetri committed Jul 30, 2014
    Configuration menu
    Copy the full SHA
    3e85ec5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    876bb17 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2015

  1. clean up

    tpetri committed Jun 23, 2015
    Configuration menu
    Copy the full SHA
    e797078 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2015

  1. Merge branch 'klt_flow2' into feature/combine-algorithms

    - Merged klt_flow2 with master by adding compute_klt() function to flow.c
    - Added NUM_BLOCK_KLT to flow.c for different block size
    - Change of FRAME_SIZE in flow.c in compute_klt() to int
    - Changing between compute_flow and compute_klt done in main.c by commenting one or the other
    
    Conflicts:
    	src/flow.c
    	src/main.c
    Severin Latkovic committed Jun 30, 2015
    Configuration menu
    Copy the full SHA
    aebaee9 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2015

  1. Added gyro compensation to KLT algorithm

    Severin Latkovic committed Jul 1, 2015
    Configuration menu
    Copy the full SHA
    589075b View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2015

  1. - Fixed Gyro Compensation

    - Added visual representation of flow in QGroundcontrol when activating flow image (for debugging)
    Severin Latkovic committed Jul 2, 2015
    Configuration menu
    Copy the full SHA
    9b510d8 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2015

  1. -cleanup

    Severin Latkovic committed Jul 3, 2015
    Configuration menu
    Copy the full SHA
    078ef6d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2501b87 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2015

  1. Added median flow

    moved quality measurement to new file quality_measurement.c
    added iqr (interquartile range) quality
    fixed klt flow image
    Severin Latkovic committed Jul 8, 2015
    Configuration menu
    Copy the full SHA
    bf1a87e View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2015

  1. move timer functions and flow result accumulation functions into sepa…

    …rate modules. Not tested yet.
    Simon Laube committed Jul 9, 2015
    Configuration menu
    Copy the full SHA
    0ae3f70 View commit details
    Browse the repository at this point in the history
  2. make the code work.

    - fix timer functions. do not use exclusive access instructions.
    - fix time accumulation data type.
    Severin Latkovic committed Jul 9, 2015
    Configuration menu
    Copy the full SHA
    51059d9 View commit details
    Browse the repository at this point in the history
  3. better fix than before.

    Severin Latkovic committed Jul 9, 2015
    Configuration menu
    Copy the full SHA
    8cb3c49 View commit details
    Browse the repository at this point in the history
  4. move calculation of mean flow out of flow measurement functions. clea…

    …nup of code and small optimisations.
    Simon Laube committed Jul 9, 2015
    Configuration menu
    Copy the full SHA
    0dfddb6 View commit details
    Browse the repository at this point in the history
  5. added some remarks about future improvements

    Simon Laube committed Jul 9, 2015
    Configuration menu
    Copy the full SHA
    b3552db View commit details
    Browse the repository at this point in the history
  6. Merge branch 'cleanup-codebase' into feature/combine-algorithms

    - implement median filtering of flow results
    - huge code cleanup
    
    Conflicts:
    	inc/flow.h
    	src/flow.c
    	src/main.c
    Simon Laube committed Jul 9, 2015
    Configuration menu
    Copy the full SHA
    c899a12 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2015

  1. Gyro compensation & bug fixes

    - Fixed Gyro compensation
    - Added global parameters for result filtering
    - small fixes in result accumulator
    Severin Latkovic committed Jul 10, 2015
    Configuration menu
    Copy the full SHA
    526c520 View commit details
    Browse the repository at this point in the history
  2. - Added switch for the minimum outlier threshold for the two algorithms

    - Changed min amount of valid results from 2 to 3
    Severin Latkovic committed Jul 10, 2015
    Configuration menu
    Copy the full SHA
    02b16c8 View commit details
    Browse the repository at this point in the history
  3. - Added check if klt flow is outside of 2*topPyrStep.

    - Added global parameter PARAM_USB_SEND_QUAL_0. It sets whether to send packets with 0 quality or not.
    Severin Latkovic committed Jul 10, 2015
    Configuration menu
    Copy the full SHA
    995548a View commit details
    Browse the repository at this point in the history
  4. - Re-added flow in meter using the same calculation as before

    Severin Latkovic committed Jul 10, 2015
    Configuration menu
    Copy the full SHA
    ec201c5 View commit details
    Browse the repository at this point in the history
  5. - Removed all traces from sensor position (BOTTOM, TOP, FRONT, ...), …

    …which were used earlier, but are not needed anymore.
    Severin Latkovic committed Jul 10, 2015
    Configuration menu
    Copy the full SHA
    f923e35 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2015

  1. Configuration menu
    Copy the full SHA
    3abbca0 View commit details
    Browse the repository at this point in the history
  2. experimented with higher block count and lower iterations for KLT. ad…

    …ded experimental minimum determinant parameter.
    Simon Laube committed Jul 11, 2015
    Configuration menu
    Copy the full SHA
    6c76a3d View commit details
    Browse the repository at this point in the history
  3. Merge branch 'feature/combine-algorithms' of github.com:leitwert/Flow…

    … into feature/combine-algorithms
    Simon Laube committed Jul 11, 2015
    Configuration menu
    Copy the full SHA
    9265c5a View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2015

  1. small code cleanup

    Simon Laube committed Jul 13, 2015
    Configuration menu
    Copy the full SHA
    34201b7 View commit details
    Browse the repository at this point in the history
  2. some more tweaking to KLT. Implemented corner detector to decide whet…

    …her a patch is a good patch.
    Simon Laube committed Jul 13, 2015
    Configuration menu
    Copy the full SHA
    0192245 View commit details
    Browse the repository at this point in the history
  3. implemented forcing capturing two images in fast sequence if algorith…

    …m takes too long. parameter tweaking.
    Simon Laube committed Jul 13, 2015
    Configuration menu
    Copy the full SHA
    a9141eb View commit details
    Browse the repository at this point in the history
  4. increase processor speed to 192MHz. Looking good so far. 465Hz frame …

    …rate.
    Simon Laube committed Jul 13, 2015
    Configuration menu
    Copy the full SHA
    173b529 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'experiment/tweak-klt-block-count' into feature/combine-…

    …algorithms
    
    The following optimisations have been performed:
    - Increase KLT number of blocks from 9 to 16.
    - Decrease KLT patch size from 9 x 9 pixel to 7 x 7 pixel.
    - Move KLT image preprocessing function out of the actual flow calculation function.
    - Increase CPU speed to 192MHz to achieve higher frame rates.
    
    Conflicts:
    	src/communication.c
    	src/main.c
    	src/settings.c
    Simon Laube committed Jul 13, 2015
    Configuration menu
    Copy the full SHA
    53507e0 View commit details
    Browse the repository at this point in the history
  6. reorder and rename parameters to have a coherent naming scheme. fix p…

    …aremeter maximum length.
    Simon Laube committed Jul 13, 2015
    Configuration menu
    Copy the full SHA
    ffcccdc View commit details
    Browse the repository at this point in the history
  7. Remove now obsolete quality_measurement from code.

    Simon Laube committed Jul 13, 2015
    Configuration menu
    Copy the full SHA
    65946f8 View commit details
    Browse the repository at this point in the history
  8. implemented changing video downlink rate.

    Simon Laube committed Jul 13, 2015
    Configuration menu
    Copy the full SHA
    9eb6112 View commit details
    Browse the repository at this point in the history
  9. make VIDEO_ONLY mode work again.

    Simon Laube committed Jul 13, 2015
    Configuration menu
    Copy the full SHA
    7a02bb1 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'feature/combine-algorithms'

    - Combined the two algorithms (block matching and KLT) into one code-base and added parameter to switch between them.
    - Unified quality measurement and raw flow result combination for both algorithms.
    - Tweaked KLT parameters to improve the performance while beeing able to finish within one frame.
    - KLT is now the preferred algorithm because it outperforms the block matching algorithm in almost all situations.
    - Huge improvements in detecting when the flow algorithm produces wrong output. If the quality is > 0 the output can now be trusted.
    - Switched from using mean or complicated histogram filters for combining the raw flow measurements to a more robust median based algorithm.
    - Improved and unified result accumulation code used to reduce data-rate.
    - Implemented gyro compensation for all algorithms.
    - Added proper flow indication in the debug image.
    - Cleaned up the code to make it look more finished.
      - Moved timer functions into their own module.
      - Cleaned up parameters.
      - Deleted unused features.
      - Unified code style in flow.c
      - Romved duplicated code.
    Simon Laube committed Jul 13, 2015
    Configuration menu
    Copy the full SHA
    4a435cd View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2015

  1. include the new source files in CMakeLists.txt

    Simon Laube committed Jul 14, 2015
    Configuration menu
    Copy the full SHA
    bef8bb3 View commit details
    Browse the repository at this point in the history
  2. add (some) missing register definitions and change naming convention …

    …to the datasheet naming. fixed writing to wrong register
    Simon Laube committed Jul 14, 2015
    Configuration menu
    Copy the full SHA
    63a7aac View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1cef37d View commit details
    Browse the repository at this point in the history
  4. Merge branch 'master' into fix/mt9v034-driver

    Simon Laube committed Jul 14, 2015
    Configuration menu
    Copy the full SHA
    1113d0e View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2015

  1. Merge branch 'fix/mt9v034-driver'

    Simon Laube committed Jul 15, 2015
    Configuration menu
    Copy the full SHA
    0a84b0c View commit details
    Browse the repository at this point in the history
  2. introduced new parameter KLT_GYRO_ASSIST and turned gyro compensation…

    … off by default.
    Simon Laube committed Jul 15, 2015
    Configuration menu
    Copy the full SHA
    66a2554 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2015

  1. Configuration menu
    Copy the full SHA
    ce75cce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a1a1d3 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2015

  1. initial prototype of the new camera driver.

    Simon Laube committed Aug 4, 2015
    Configuration menu
    Copy the full SHA
    d3509fa View commit details
    Browse the repository at this point in the history
  2. fixed comments about the system clocks to match the actual system clo…

    …cks that are used.
    Simon Laube committed Aug 4, 2015
    Configuration menu
    Copy the full SHA
    ef4eff2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ce49c1d View commit details
    Browse the repository at this point in the history
  4. changes to the camera sensor and transport interfaces. started implem…

    …entation of init function.
    Simon Laube committed Aug 4, 2015
    Configuration menu
    Copy the full SHA
    678ca42 View commit details
    Browse the repository at this point in the history
  5. WIP. start to move code around into new functions that do the initial…

    …isation.
    Simon Laube committed Aug 4, 2015
    Configuration menu
    Copy the full SHA
    c42f6df View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2015

  1. use bool for success/fail return status.

    Simon Laube committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    a197670 View commit details
    Browse the repository at this point in the history
  2. finished cleaning up camera sensor configuration code. updated code w…

    …ith detailed documentation from the datasheet.
    Simon Laube committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    9d3ef04 View commit details
    Browse the repository at this point in the history
  3. finished camera sensor interface for mt9v034.

    - implemented context switch logic
    - implemented image parameter simulation
    Simon Laube committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    ef308b5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    31b9aa6 View commit details
    Browse the repository at this point in the history
  5. finished camera_transport_interface for the DCMI module. code is now …

    …almost ready to test.
    Simon Laube committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    b037596 View commit details
    Browse the repository at this point in the history
  6. - updated main to use new API.

    - changed KLT flow to use its own image struct which stores the preprocessed data.
    - implemented buffer management in camera.
    Simon Laube committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    f4b010d View commit details
    Browse the repository at this point in the history
  7. Merge remote-tracking branch 'upstream/master'

    Simon Laube committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    a4d6288 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'master' into refactor/dcmi-driver

    Conflicts:
    	src/main.c
    Simon Laube committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    0721617 View commit details
    Browse the repository at this point in the history
  9. made code compile. testing is next.

    Simon Laube committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    18798ee View commit details
    Browse the repository at this point in the history
  10. fixed warnings in code.

    Simon Laube committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    8fa137e View commit details
    Browse the repository at this point in the history
  11. fixed bug in camera.c. The code now runs. However there is an issue w…

    …ith where the frame starts in the buffer.
    Simon Laube committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    757f011 View commit details
    Browse the repository at this point in the history
  12. fixed transfer alignment issue in camera driver.

    Simon Laube committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    b409ca6 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f2fc46d View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    3a629fd View commit details
    Browse the repository at this point in the history
  15. increase I2C bus speed to make it possible to switch sensor contexts …

    …between two DMA transfers.
    
    This resolves all problems with the de-syncing.
    Changed back bogus fix in DMA buffer selection.
    Simon Laube committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    7fdc1b1 View commit details
    Browse the repository at this point in the history
  16. cleanup i2c code.

    - switched to 16bit read and write mode to improve context switching time.
    Simon Laube committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    7c04517 View commit details
    Browse the repository at this point in the history
  17. implemented snapshot mode and tested it. it works!

    Simon Laube committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    917cf94 View commit details
    Browse the repository at this point in the history
  18. default VIDEO_ONLY parameter to ON. flow calculation still works in t…

    …he background.
    Simon Laube committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    e8a2b60 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2015

  1. implemented auto exposure control algorithm wich bypasses the buggy a…

    …lgorithm of the camera module.
    
    - implemented dynamic general sensor parameter update.
    - bugfix for corrupt pixel data
    Simon Laube committed Aug 6, 2015
    Configuration menu
    Copy the full SHA
    329ff49 View commit details
    Browse the repository at this point in the history
  2. implemented high resolution shutter and improved CPU usage of auto ex…

    …posure algorithm.
    Simon Laube committed Aug 6, 2015
    Configuration menu
    Copy the full SHA
    c8f24b4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f63ee6a View commit details
    Browse the repository at this point in the history
  4. bugfix in exposure algorithm.

    Simon Laube committed Aug 6, 2015
    Configuration menu
    Copy the full SHA
    4342c16 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c81e07d View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2015

  1. improved documentation and generalized variable names. implemented to…

    …lerance band in exposure algorithm.
    Simon Laube committed Aug 7, 2015
    Configuration menu
    Copy the full SHA
    05e42cb View commit details
    Browse the repository at this point in the history
  2. implemented de-synchronization detection and recovery.

    Simon Laube committed Aug 7, 2015
    Configuration menu
    Copy the full SHA
    14962f8 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'refactor/dcmi-driver'

    Simon Laube committed Aug 7, 2015
    Configuration menu
    Copy the full SHA
    2643030 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2015

  1. - Reverted SystemCoreClock to original setting. Overclocking is not n…

    …eeded.
    
    - Removed casting from uint32_t to int32_t in timer.c
    -(While this compiled fine, I could not test it in QGroundcontrol due to some Windows10 problem. But it should be working)
    Severin Latkovic committed Aug 13, 2015
    Configuration menu
    Copy the full SHA
    e992fdb View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2015

  1. - Fixed issue where high gyro values (like shaking) lead to a crash. …

    …KLT algorithm now checks whether the x_rate and y_rate values from the gyro are within bounds of the search area. If not, an empty flow is returned.
    
    - Corrected parameter name in header file.
    Severin Latkovic committed Aug 14, 2015
    Configuration menu
    Copy the full SHA
    0c9c94c View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2015

  1. Configuration menu
    Copy the full SHA
    0c05b0a View commit details
    Browse the repository at this point in the history
  2. Merge Leitwert pull request

      * KLT algorithm
      * Exposure control
      * DCMI driver refactor for mode switching
    kevinmehall committed Aug 18, 2015
    Configuration menu
    Copy the full SHA
    5c02f07 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2015

  1. Configuration menu
    Copy the full SHA
    d792be0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6493c8f View commit details
    Browse the repository at this point in the history
  3. Move CDC descriptors to composite device, using structures

    This replaces the descriptor byte arrays from usbd_cdc_core.c
    
    The following changes were made to the descriptor content:
    * The device is self-powered
    * Don't set flag indicating that it accepts AT commands
    * Remove Call Management Functional Descriptor
    kevinmehall committed Aug 19, 2015
    Configuration menu
    Copy the full SHA
    430c01d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    16af0b3 View commit details
    Browse the repository at this point in the history
  5. Send metadata with USB image

    Timestamp is currently local time; should be replaced with UAVCAN time
    kevinmehall committed Aug 19, 2015
    Configuration menu
    Copy the full SHA
    d33cf8d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2bc3edc View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2015

  1. Configuration menu
    Copy the full SHA
    bba29e4 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2015

  1. Move LED control to src/drivers/boards

    On 2.0 HW, set LED color based on OF quality.
    kevinmehall committed Aug 26, 2015
    Configuration menu
    Copy the full SHA
    317da1f View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2015

  1. Configuration menu
    Copy the full SHA
    09c0aab View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2015

  1. Configuration menu
    Copy the full SHA
    be74b0d View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2015

  1. Merge remote-tracking branch '3drobotics/master'

    Simon Laube committed Aug 31, 2015
    Configuration menu
    Copy the full SHA
    4d5afe0 View commit details
    Browse the repository at this point in the history
  2. Merge '3dr/feature.lidar'

    kevinmehall committed Aug 31, 2015
    Configuration menu
    Copy the full SHA
    4054060 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'km-led'

    kevinmehall committed Aug 31, 2015
    Configuration menu
    Copy the full SHA
    488a1be View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2015

  1. Configuration menu
    Copy the full SHA
    be2bb49 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15be42a View commit details
    Browse the repository at this point in the history
  3. Merge branch 'km-lidar'

    kevinmehall committed Sep 1, 2015
    Configuration menu
    Copy the full SHA
    c04310e View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2015

  1. implemented checks in camera buffer management.

    Simon Laube committed Sep 3, 2015
    Configuration menu
    Copy the full SHA
    9cf78c3 View commit details
    Browse the repository at this point in the history
  2. fixed updating meta data of KLT image. now the preprocessing is only …

    …done for new frames.
    Simon Laube committed Sep 3, 2015
    Configuration menu
    Copy the full SHA
    2b0eef8 View commit details
    Browse the repository at this point in the history
  3. fixed buffer_count check in camera_init.

    Simon Laube committed Sep 3, 2015
    Configuration menu
    Copy the full SHA
    b530c54 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f8a0cb7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f882d3d View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2015

  1. Configuration menu
    Copy the full SHA
    e5c4c78 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    334c6b8 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2015

  1. Configuration menu
    Copy the full SHA
    4a98fe2 View commit details
    Browse the repository at this point in the history
  2. Merge upstream PX4

    kevinmehall committed Sep 10, 2015
    Configuration menu
    Copy the full SHA
    1c344a9 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2015

  1. Configuration menu
    Copy the full SHA
    143eb21 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    96976a9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    97e3c21 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2015

  1. Configuration menu
    Copy the full SHA
    a205c40 View commit details
    Browse the repository at this point in the history
  2. Remove unused implementation of itoa

    It has the arguments in non-standard order, which GCC 4.9 complains
    about. Fixes #30.
    kevinmehall committed Sep 18, 2015
    Configuration menu
    Copy the full SHA
    9ea5d3c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    12b2686 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2015

  1. Configuration menu
    Copy the full SHA
    2274c7f View commit details
    Browse the repository at this point in the history
  2. mt9v034: write reserved registers with recommended values from Rev G …

    …datasheet
    
    This eliminates the noise seen on every 4th row
    kevinmehall committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    44c4147 View commit details
    Browse the repository at this point in the history
  3. uavcan: Refactor data handling

    Move the entire uavcan module into C++ so DSDL structs can be filled
    directly, without going through intermediate C structs.
    kevinmehall committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    344c5c0 View commit details
    Browse the repository at this point in the history
  4. uavcan: fix typos

    kevinmehall committed Sep 21, 2015
    Configuration menu
    Copy the full SHA
    d04c5e7 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2015

  1. Merge pull request #39 from 3drobotics/km-uavcan-refactor

    UAVCAN refactor
    kevinmehall committed Sep 22, 2015
    Configuration menu
    Copy the full SHA
    7d57799 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    286063a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    11a5fa0 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2015

  1. get_boot_time_us: check if there is a preempted systick interrupt pen…

    …ding
    
    Reported by Simon Laube: The usage of get_boot_time_us() in the camera
    interrupt handler caused issues where sometimes it would return a
    timestamp that is 1ms in the past. The result is that some frames deltas
    would be reported as 1ms too short while the next frame after such an
    incident would be 1ms too long.
    kevinmehall committed Sep 24, 2015
    Configuration menu
    Copy the full SHA
    0f9e158 View commit details
    Browse the repository at this point in the history
  2. Revert "mt9v034: write reserved registers with recommended values fro…

    …m Rev G datasheet"
    
    This reverts commit 44c4147.
    
    These register changes make it more succeptible to the full-frame corruption.
    kevinmehall committed Sep 24, 2015
    Configuration menu
    Copy the full SHA
    8a82ff2 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2015

  1. Configuration menu
    Copy the full SHA
    38d8b3b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    070d84a View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2015

  1. Configuration menu
    Copy the full SHA
    748bf1e View commit details
    Browse the repository at this point in the history
  2. Change result accumulator to handle dropped frame time correctly

    This only affects the legacy data in pixels / accumulation period.
    
    Based on 04f365d by Simon Laube
    
    The full_time variable of the accumulator did not include the time of
    the dropped frames. This is fixed now. Accumulator calculations relying
    on the full_time variable are now correct event when frames are dropped.
    (for example when taking a snapshot)
    
    The full_time variable is currently only used by the old flow message
    which uses pixels as the output format. It is used to scale the measured
    pixel values to appear like we did not drop any frames. This scaling is
    correct if we assume that the speed remains constant during the
    accumulation period.
    kevinmehall committed Sep 30, 2015
    Configuration menu
    Copy the full SHA
    59c05f3 View commit details
    Browse the repository at this point in the history
  3. Implement maximum velocity calculation algorithm.

    Simon Laube authored and kevinmehall committed Sep 30, 2015
    Configuration menu
    Copy the full SHA
    50f460f View commit details
    Browse the repository at this point in the history
  4. Make velocity calculation 1-dimensional, and pass it over UAVCAN

    The UAVCAN message and APM can't deal with per-axis velocity limits. The
    X and Y values were always the same.
    kevinmehall committed Sep 30, 2015
    Configuration menu
    Copy the full SHA
    26b2bfb View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2015

  1. Configuration menu
    Copy the full SHA
    3b32e83 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2015

  1. i2c_slave: Test individual interrupt-pending bits.

    Otherwise when multiple interrupts are pending, it fails to clear any,
    and gets stuck in the ISR.
    kevinmehall committed Oct 8, 2015
    Configuration menu
    Copy the full SHA
    90640a8 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2015

  1. Merge pull request #46 from 3drobotics/i2cfix

    i2c_slave: Test individual interrupt-pending bits.
    kevinmehall committed Oct 9, 2015
    Configuration menu
    Copy the full SHA
    80f9cfc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    11776e8 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2015

  1. Configuration menu
    Copy the full SHA
    e478c63 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2015

  1. mt9v034: write reserved registers with recommended values from Rev G …

    …datasheet
    
    This eliminates the noise seen on every 4th row
    kevinmehall committed Oct 12, 2015
    Configuration menu
    Copy the full SHA
    8d4fe40 View commit details
    Browse the repository at this point in the history
  2. Increase minimum horizontal blanking to reduce corruption.

    Datasheet Rev A says 690. Rev G says 704. Testing says higher.
    kevinmehall committed Oct 12, 2015
    Configuration menu
    Copy the full SHA
    366f80e View commit details
    Browse the repository at this point in the history
  3. Merge pull request #47 from 3drobotics/km-camera

    Improved camera register settings
    kevinmehall committed Oct 12, 2015
    Configuration menu
    Copy the full SHA
    c87c937 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #49 from 3drobotics/lightware

    Lightware SF10 Lidar driver
    kevinmehall committed Oct 12, 2015
    Configuration menu
    Copy the full SHA
    a4a89f6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5bb7a8b View commit details
    Browse the repository at this point in the history
  6. Clean all other warnings

    kevinmehall committed Oct 12, 2015
    Configuration menu
    Copy the full SHA
    cef5809 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2015

  1. Refactor main loop poll for frame

    camera.c shouldn't be calling into UAVCAN; the main loop should poll for
    images instead of blocking.
    kevinmehall committed Oct 14, 2015
    Configuration menu
    Copy the full SHA
    5518ac3 View commit details
    Browse the repository at this point in the history
  2. Fix typo

    kevinmehall committed Oct 14, 2015
    Configuration menu
    Copy the full SHA
    1878226 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #50 from 3drobotics/cleanup

    Cleanup
    kevinmehall committed Oct 14, 2015
    Configuration menu
    Copy the full SHA
    190f7cf View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2015

  1. Remove unfinished interface to transfer snapshot images asynchronousl…

    …y over USB
    
    The actual image transfer is solid, but the format for metadata is not ready
    to be considered a stable API.
    kevinmehall committed Oct 28, 2015
    Configuration menu
    Copy the full SHA
    9d2a793 View commit details
    Browse the repository at this point in the history
  2. Revert refactor of USB descriptors.

    This was a preliminary step to adding the asynchronous image transfer endpoint. While it
    was a cleanup in its own right, might as well use the standard ST code for easier
    upgrade if it does not need modification.
    
    This reverts commits 6493c8f and 430c01d
    kevinmehall committed Oct 28, 2015
    Configuration menu
    Copy the full SHA
    b6ec5be View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2015

  1. Build fix

    LorenzMeier committed Dec 10, 2015
    Configuration menu
    Copy the full SHA
    99f4b26 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ee73c63 View commit details
    Browse the repository at this point in the history
  3. Code style fix

    LorenzMeier committed Dec 10, 2015
    Configuration menu
    Copy the full SHA
    dacb2f1 View commit details
    Browse the repository at this point in the history
  4. Remove unused headers

    LorenzMeier committed Dec 10, 2015
    Configuration menu
    Copy the full SHA
    2a014d3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    11bdc5b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    991071a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d24c035 View commit details
    Browse the repository at this point in the history