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

ModalAI Forum

  1. ModalAI Support Forum
  2. ESCs
  3. VOXL ESC Mini

VOXL ESC Mini

Scheduled Pinned Locked Moved ESCs
6 Posts 2 Posters 837 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.
  • 0 Offline
    0 Offline
    0x45
    Contributor
    wrote on last edited by
    #1

    Hi,

    Model: VOXL ESC Mini 4-in-1 with Built-in Power Module
    Firmware: modalai_esc_firmware_m0129_3_v0_39_RC10_eb6fb500.bin

    I'm not using all of the ESC outputs and I'd have set them to disable.
    Although, the current firmware on the PX4 does not support the disable feature. I was wondering if there was a particular reason that this capability does not exist?

    Screenshot 2024-03-15 093307.png

    Alex KushleyevA 1 Reply Last reply
    0
    • 0 0x45

      Hi,

      Model: VOXL ESC Mini 4-in-1 with Built-in Power Module
      Firmware: modalai_esc_firmware_m0129_3_v0_39_RC10_eb6fb500.bin

      I'm not using all of the ESC outputs and I'd have set them to disable.
      Although, the current firmware on the PX4 does not support the disable feature. I was wondering if there was a particular reason that this capability does not exist?

      Screenshot 2024-03-15 093307.png

      Alex KushleyevA Offline
      Alex KushleyevA Offline
      Alex Kushleyev
      ModalAI Team
      wrote on last edited by
      #2

      @0x45 , there is no particular reason. I think we just assumed that all 4 motors would be used. Is this something that is needed for your application? it is not a limitation of the ESC firmware itself, instead the PX4 driver for it.

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

        For my application it would be preferred. I saw where it is in the PX4 driver - I just was hesitant to make the changes and wanted confirmation from the ModalAi team that there isn't any issues on the ESC side if I were to make the change.

        Thanks for the speedy reply and I'll proceed on if there is no issues.

        Alex KushleyevA 1 Reply Last reply
        0
        • 0 0x45

          For my application it would be preferred. I saw where it is in the PX4 driver - I just was hesitant to make the changes and wanted confirmation from the ModalAi team that there isn't any issues on the ESC side if I were to make the change.

          Thanks for the speedy reply and I'll proceed on if there is no issues.

          Alex KushleyevA Offline
          Alex KushleyevA Offline
          Alex Kushleyev
          ModalAI Team
          wrote on last edited by Alex Kushleyev
          #4

          @0x45 I believe that if you allow DISABLED to be the setting for the channels 1-4, then the mixer will output 0 for those channels (based on this : https://github.com/modalai/px4-firmware/blob/voxl-dev/src/drivers/actuators/voxl_esc/voxl_esc.cpp#L56)

          My guess is that when you arm, the disabled channels will just stay at zero, causing the voxl esc driver to just send 0 rpm target for that ESC channel.

          The worst that could happen is that mixer could send MAX_RPM to the disabled channel (but i don't see how that would happen).

          If you want to try it out, i suggest making the change to allow the DISABLED actuators and then in updateOutputs just print the values and force them to zero before sending out to ESC in order to avoid any unexpected rpm values to be sent out : https://github.com/modalai/px4-firmware/blob/voxl-dev/src/drivers/actuators/voxl_esc/voxl_esc.cpp#L1162

          I think you can just comment out this lines:
          https://github.com/modalai/px4-firmware/blob/voxl-dev/src/drivers/actuators/voxl_esc/voxl_esc.cpp#L318 and
          https://github.com/modalai/px4-firmware/blob/voxl-dev/src/drivers/actuators/voxl_esc/voxl_esc.cpp#L336 (ret = PX4_ERROR;) -- this will disable the errors

          If you want to wait a few days, i can try it out sometime next week..

          0 1 Reply Last reply
          0
          • Alex KushleyevA Alex Kushleyev

            @0x45 I believe that if you allow DISABLED to be the setting for the channels 1-4, then the mixer will output 0 for those channels (based on this : https://github.com/modalai/px4-firmware/blob/voxl-dev/src/drivers/actuators/voxl_esc/voxl_esc.cpp#L56)

            My guess is that when you arm, the disabled channels will just stay at zero, causing the voxl esc driver to just send 0 rpm target for that ESC channel.

            The worst that could happen is that mixer could send MAX_RPM to the disabled channel (but i don't see how that would happen).

            If you want to try it out, i suggest making the change to allow the DISABLED actuators and then in updateOutputs just print the values and force them to zero before sending out to ESC in order to avoid any unexpected rpm values to be sent out : https://github.com/modalai/px4-firmware/blob/voxl-dev/src/drivers/actuators/voxl_esc/voxl_esc.cpp#L1162

            I think you can just comment out this lines:
            https://github.com/modalai/px4-firmware/blob/voxl-dev/src/drivers/actuators/voxl_esc/voxl_esc.cpp#L318 and
            https://github.com/modalai/px4-firmware/blob/voxl-dev/src/drivers/actuators/voxl_esc/voxl_esc.cpp#L336 (ret = PX4_ERROR;) -- this will disable the errors

            If you want to wait a few days, i can try it out sometime next week..

            0 Offline
            0 Offline
            0x45
            Contributor
            wrote on last edited by
            #5

            @Alex-Kushleyev
            Sounds good I'll give it a shot. Thanks!

            Alex KushleyevA 1 Reply Last reply
            0
            • 0 0x45

              @Alex-Kushleyev
              Sounds good I'll give it a shot. Thanks!

              Alex KushleyevA Offline
              Alex KushleyevA Offline
              Alex Kushleyev
              ModalAI Team
              wrote on last edited by
              #6

              @0x45 if you get it working and you would like to share your change, we can test and incorporate into the driver. That could potentially make it easier for you to not have to use a custom px4 build for your application.

              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

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