ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

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

    Ask your questions right here!
    2
    7
    382
    Loading More Posts
    • 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
      suvasis
      last edited by

      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 Reply Quote 0
      • Eric KatzfeyE
        Eric Katzfey ModalAI Team @suvasis
        last edited by

        @suvasis Which ModalAI product are you referring to?

        1 Reply Last reply Reply Quote 0
        • S
          suvasis
          last edited by

          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 Reply Quote 0
          • Eric KatzfeyE
            Eric Katzfey ModalAI Team @suvasis
            last edited by

            @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 Reply Quote 0
            • Eric KatzfeyE
              Eric Katzfey ModalAI Team @suvasis
              last edited by

              @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 Reply Quote 0
              • S
                suvasis
                last edited by

                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 Reply Quote 0
                • Eric KatzfeyE
                  Eric Katzfey ModalAI Team @suvasis
                  last edited by

                  @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 Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB | Contributors