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

PPS capture driver (not PPS clock synchronization) #18849

Merged
merged 15 commits into from
Dec 17, 2021
Merged

Commits on Dec 16, 2021

  1. Configuration menu
    Copy the full SHA
    1b166e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dbf6213 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e6fb478 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    862cb9f View commit details
    Browse the repository at this point in the history
  5. boards/fmu-v5x: allocating PPS pin

    - start pps_capture before pwm_out
    Igor-Misic committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    6410391 View commit details
    Browse the repository at this point in the history
  6. PPS capture: Add a param to enable / disable PPS capture module. This…

    … is important, since it takes over an FMU pin which can no longer be used for actuator output.
    ThomasDebrunner authored and Igor-Misic committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    c264e00 View commit details
    Browse the repository at this point in the history
  7. Set rtc_edge_time also in capture_callback

    When using an FMU channel as PPS capture GPIO, the rtc_edge_time is now set as well. The delay between actual capture and callback is compensated with the elapsed time of the rtc clock.
    eyeam3 authored and Igor-Misic committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    c41b64e View commit details
    Browse the repository at this point in the history
  8. Fix camera trigger via MAVLink when camera capture feedback is enabled

    - camera_trigger module always publishes the camera_trigger msg (independent of the camera feedback)
    - Use camera_trigger msg and set the feedback flag
    - Subscribing modules determine if the message is relevant based on the feedback message
    eyeam3 authored and Igor-Misic committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    499395f View commit details
    Browse the repository at this point in the history
  9. Fix PPS based UTC timestamp in camera trigger and capture messages

    The existing implementation has about 100ms difference to a reference clock. With the changes this error less than 25us.
    - Use sensor_gps messages with hrt timestamps as RTC reference and not the system realtime clock. The PPS interrupt can then be aligned with the GPS clock system.
    - Keep fallback based on system RTC when no PPS pulse was captured
    eyeam3 authored and Igor-Misic committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    b05a77b View commit details
    Browse the repository at this point in the history
  10. Add PPS capture message to logged topics, simplify timestamp logic an…

    …d small cleanup
    eyeam3 authored and Igor-Misic committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    97fe265 View commit details
    Browse the repository at this point in the history
  11. pps_capture: add kconfig

    Igor-Misic committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    65d94e5 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    557ac62 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    10c7282 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d475e61 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    cd40816 View commit details
    Browse the repository at this point in the history