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. Where to write Extended Kalman filter code in modalai's platform

Where to write Extended Kalman filter code in modalai's platform

Scheduled Pinned Locked Moved Ask your questions right here!
7 Posts 2 Posters 1.0k 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.
  • S Offline
    S Offline
    suvasis
    Contributor
    wrote on last edited by
    #1

    hi,

    I am working on NXP's RDDRONE-BMS772, battery management system, I would like to integrate EKF to estimate SOC of the battery system. Does modalai support CAN/CAN-FD or serial, i2c, communication to gather bms data related to battery? Also, can Extended kalman filter code be in python or strictly C to be integrated in modalai?

    Thanks.
    suvasis

    Eric KatzfeyE 1 Reply Last reply
    0
    • S suvasis

      hi,

      I am working on NXP's RDDRONE-BMS772, battery management system, I would like to integrate EKF to estimate SOC of the battery system. Does modalai support CAN/CAN-FD or serial, i2c, communication to gather bms data related to battery? Also, can Extended kalman filter code be in python or strictly C to be integrated in modalai?

      Thanks.
      suvasis

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

      @suvasis Which ModalAI product are you referring to?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        suvasis
        Contributor
        wrote on last edited by
        #3

        I use only voxl2. bms to communicate through CAN bus with ESC (so a CAN transreceiver on esc, i don't think this is there currently) or the flight controller or telemetry or the qualcomm processor ab it's power consumption. Just like car uses CAN bus and can transreceiver on various sensors or components.

        At the minimum, how can i just gather the SOC info over serial port and apply EKF. Where should this code reside?

        Thanks.
        suvasis

        Eric KatzfeyE 2 Replies Last reply
        0
        • S suvasis

          I use only voxl2. bms to communicate through CAN bus with ESC (so a CAN transreceiver on esc, i don't think this is there currently) or the flight controller or telemetry or the qualcomm processor ab it's power consumption. Just like car uses CAN bus and can transreceiver on various sensors or components.

          At the minimum, how can i just gather the SOC info over serial port and apply EKF. Where should this code reside?

          Thanks.
          suvasis

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

          @suvasis Are you referring to a ModalAI ESC? Or are you using a third party ESC? We do not have a CAN bus on VOXL2.

          1 Reply Last reply
          0
          • S suvasis

            I use only voxl2. bms to communicate through CAN bus with ESC (so a CAN transreceiver on esc, i don't think this is there currently) or the flight controller or telemetry or the qualcomm processor ab it's power consumption. Just like car uses CAN bus and can transreceiver on various sensors or components.

            At the minimum, how can i just gather the SOC info over serial port and apply EKF. Where should this code reside?

            Thanks.
            suvasis

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

            @suvasis There are UARTs available to the applications processor via some of our add-on boards. Then you can use this UART for your new BMS application. It can be Python or C, whatever you like. But there is no UART available to applications processor on the bare VOXL2 board. Or are you intending to integrate this with PX4?

            1 Reply Last reply
            0
            • S Offline
              S Offline
              suvasis
              Contributor
              wrote on last edited by
              #6

              hi,
              I am using all modalai hw. so the ESC is also from modalai's. Is there any documentation on how to add custom application, say bms, to px4 directly?

              Eric KatzfeyE 1 Reply Last reply
              0
              • S suvasis

                hi,
                I am using all modalai hw. so the ESC is also from modalai's. Is there any documentation on how to add custom application, say bms, to px4 directly?

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

                @suvasis You cannot modify the code on our ESC. But you can certainly add a new driver to PX4. I would start with the PX4 documentation: https://docs.px4.io/main/en/development/development.html

                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