Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. PX4 logging frequency

PX4 logging frequency

Scheduled Pinned Locked Moved Ask your questions right here!
3 Posts 2 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • bogaB Offline
    bogaB Offline
    boga
    Contributor
    wrote on last edited by
    #1

    I need to log PX4 sensors and GPS data as fast as possible. Right now the logging intervals are too slow. I found this forum post: https://discuss.px4.io/t/high-speed-logging/25242/4 .

    According to this post I should change the rates in this file:
    https://github.com/PX4/PX4-Autopilot/blob/main/src/modules/logger/logged_topics.cpp

    But this means that have to recompile the whole PX4 firmware (right?) and then upload it. Isn't there an easier way? Isn't there a way to change the logging intervals from a configuration file or through parameters or something like that?

    Eric KatzfeyE 2 Replies Last reply
    0
    • bogaB boga

      I need to log PX4 sensors and GPS data as fast as possible. Right now the logging intervals are too slow. I found this forum post: https://discuss.px4.io/t/high-speed-logging/25242/4 .

      According to this post I should change the rates in this file:
      https://github.com/PX4/PX4-Autopilot/blob/main/src/modules/logger/logged_topics.cpp

      But this means that have to recompile the whole PX4 firmware (right?) and then upload it. Isn't there an easier way? Isn't there a way to change the logging intervals from a configuration file or through parameters or something like that?

      Eric KatzfeyE Offline
      Eric KatzfeyE Offline
      Eric Katzfey
      ModalAI Team
      wrote on last edited by
      #2

      @boga Which log topics specifically are you wanting to increase the rates on? There is a PX4 parameter SDLOG_PROFILE that can enable some high rate logging topics.

      1 Reply Last reply
      0
      • bogaB boga

        I need to log PX4 sensors and GPS data as fast as possible. Right now the logging intervals are too slow. I found this forum post: https://discuss.px4.io/t/high-speed-logging/25242/4 .

        According to this post I should change the rates in this file:
        https://github.com/PX4/PX4-Autopilot/blob/main/src/modules/logger/logged_topics.cpp

        But this means that have to recompile the whole PX4 firmware (right?) and then upload it. Isn't there an easier way? Isn't there a way to change the logging intervals from a configuration file or through parameters or something like that?

        Eric KatzfeyE Offline
        Eric KatzfeyE Offline
        Eric Katzfey
        ModalAI Team
        wrote on last edited by
        #3

        @boga If SDLOG_PROFILE doesn't have what you are looking for then you can set up a custom set of log topics / rates from a file. You don't need to recompile PX4 to use it. https://docs.px4.io/main/en/dev_log/logging.html#sd-card-configuration

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        ModalAI
        Categories Recent Tags ModalAI.com Docs
        © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups