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

    Using VOXL ESCs with PX4

    Ask your questions right here!
    2
    8
    296
    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.
    • Suvasis MS
      Suvasis M
      last edited by

      hi

      I am building my drone, I want to use "VOXL ESCs with PX4" for my drone. Is there any documentation on how to use VOXL ESCs with Nvidia processors.e, the los setup?

      Thanks.
      suvasis

      1 Reply Last reply Reply Quote 0
      • modaltbM
        modaltb ModalAI Team
        last edited by

        Hi @Suvasis-M ,

        The source code for the driver is here:
        https://github.com/PX4/PX4-Autopilot/tree/main/src/drivers/actuators/modalai_esc

        If you have access to a UART port on the nvidia, it's likely you can port this driver over fairly easily but this isn't something we've done.

        Thanks!

        1 Reply Last reply Reply Quote 0
        • Suvasis MS
          Suvasis M
          last edited by

          hi,

          I have Jetson AGX orin processor, it has UART on M.2 KeyE. Ok then, looks like I can port the driver. Is there any ubuntu OS specifics? I have 20.04 version.

          Thanks.
          suvasis

          1 Reply Last reply Reply Quote 0
          • modaltbM
            modaltb ModalAI Team
            last edited by

            Hi @Suvasis-M ,

            Its setup in the native form for Nuttx RTOS, which starts the driver up as a task, and has some specific PX4/Nuttx related calls, but you should be able to find equivalents for Ubuntu, so I don't believe there would be any blockers.

            We create a packet and send it here:
            https://github.com/PX4/PX4-Autopilot/blob/main/src/drivers/actuators/modalai_esc/modalai_esc.cpp#L1120

            and parse feedback here:
            https://github.com/PX4/PX4-Autopilot/blob/main/src/drivers/actuators/modalai_esc/modalai_esc.cpp#L1151

            1 Reply Last reply Reply Quote 0
            • Suvasis MS
              Suvasis M
              last edited by

              @modaltb said in Using VOXL ESCs with PX4:

              PX4/Nuttx related calls,

              hi,

              Which are the PX4/Nuttx related calls from the actuator?

              Thanks.
              suvasis

              1 Reply Last reply Reply Quote 0
              • modaltbM
                modaltb ModalAI Team
                last edited by

                You should be able to get by with standard POSIX stuff like open/read/write.

                On our DSP, we had to get rid of a poll that was being used and we have some delays in place instead.

                Suvasis MS 1 Reply Last reply Reply Quote 0
                • Suvasis MS
                  Suvasis M @modaltb
                  last edited by

                  @modaltb

                  hi,

                  Where is the DSP code? Is it exposed?

                  Thanks
                  suvasis

                  1 Reply Last reply Reply Quote 0
                  • modaltbM
                    modaltb ModalAI Team
                    last edited by

                    We have the full toolchain and setup dockerized here: https://gitlab.com/voxl-public/rb5-flight/rb5-flight-px4-build-docker

                    Following that setup, you will install the Hexagon SDK which provides more info on the lower level stuff.

                    But, the PX4 code as shown above is what runs on the DSP.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Powered by NodeBB | Contributors