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

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. VOXL SDK
  4. Updating ESC firmware but no build.sh file

Updating ESC firmware but no build.sh file

Scheduled Pinned Locked Moved VOXL SDK
13 Posts 2 Posters 1.2k 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.
  • J JackHammer

    @Alex-Kushleyev In the first few lines of the make_package.sh, it states that you must run build.sh first to build the binaries.

    5d2cfd2b-3e46-44e1-90bf-dd502f7c801c-image.png

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

    @JackHammer , I see. thanks for clarifying. This is a copy / paste error. In this project, you don't need to build anything.

    Alex

    J 1 Reply Last reply
    0
    • Alex KushleyevA Alex Kushleyev

      @JackHammer , I see. thanks for clarifying. This is a copy / paste error. In this project, you don't need to build anything.

      Alex

      J Offline
      J Offline
      JackHammer
      wrote on last edited by
      #5

      @Alex-Kushleyev Okay cool, thanks for letting me know. The instructions from that readme file state you dont need the voxl-cross image, but then the following instructions appear to use it. Do these instructions change at all when I am running through wsl? I am getting some error and I just want to be sure to cover my bases

      Alex KushleyevA 1 Reply Last reply
      0
      • J JackHammer

        @Alex-Kushleyev Okay cool, thanks for letting me know. The instructions from that readme file state you dont need the voxl-cross image, but then the following instructions appear to use it. Do these instructions change at all when I am running through wsl? I am getting some error and I just want to be sure to cover my bases

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

        @JackHammer , it should just work out of the box:

        voxl-esc$ ./make_package.sh 
        Package Name:  voxl-esc
        version Number:  1.5.4
        [sudo] password for *******:
        starting building Debian Package
        dpkg-deb: building package 'voxl-esc' in 'voxl-esc_1.5.4_arm64.deb'.
        DONE
        

        Note that sudo inside the script is not required, but it is there for historical reasons..

        Alex

        J 2 Replies Last reply
        0
        • Alex KushleyevA Alex Kushleyev

          @JackHammer , it should just work out of the box:

          voxl-esc$ ./make_package.sh 
          Package Name:  voxl-esc
          version Number:  1.5.4
          [sudo] password for *******:
          starting building Debian Package
          dpkg-deb: building package 'voxl-esc' in 'voxl-esc_1.5.4_arm64.deb'.
          DONE
          

          Note that sudo inside the script is not required, but it is there for historical reasons..

          Alex

          J Offline
          J Offline
          JackHammer
          wrote on last edited by
          #7

          @Alex-Kushleyev Gotcha, it appears to start up an then right after the starting building line I get:

          dpkg-deb: error: maintainer script 'postinst' has bad permissions 744 (must be >=0555 and <=0775)

          1 Reply Last reply
          0
          • Alex KushleyevA Alex Kushleyev

            @JackHammer , it should just work out of the box:

            voxl-esc$ ./make_package.sh 
            Package Name:  voxl-esc
            version Number:  1.5.4
            [sudo] password for *******:
            starting building Debian Package
            dpkg-deb: building package 'voxl-esc' in 'voxl-esc_1.5.4_arm64.deb'.
            DONE
            

            Note that sudo inside the script is not required, but it is there for historical reasons..

            Alex

            J Offline
            J Offline
            JackHammer
            wrote on last edited by
            #8

            @Alex-Kushleyev Got it working out of a docker container. I did have another question though. Do I need to remove anything off the voxl board (old voxl-esc package) before pushing this one over ssh?

            Alex KushleyevA 1 Reply Last reply
            0
            • J JackHammer

              @Alex-Kushleyev Got it working out of a docker container. I did have another question though. Do I need to remove anything off the voxl board (old voxl-esc package) before pushing this one over ssh?

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

              @JackHammer

              That error is weird, since 555 <= 744 <= 755. I think there is some issue with the leading 0 in the perms... Have not seen that before.

              You should not have to remove the old voxl-esc package, all the files in the package will be overwritten.

              I am assuming you are just making a custom version of the package? If not, you can always get the latest package from : http://voxl-packages.modalai.com/dists/qrb5165/dev/binary-arm64/

              Alex

              J 1 Reply Last reply
              0
              • Alex KushleyevA Alex Kushleyev

                @JackHammer

                That error is weird, since 555 <= 744 <= 755. I think there is some issue with the leading 0 in the perms... Have not seen that before.

                You should not have to remove the old voxl-esc package, all the files in the package will be overwritten.

                I am assuming you are just making a custom version of the package? If not, you can always get the latest package from : http://voxl-packages.modalai.com/dists/qrb5165/dev/binary-arm64/

                Alex

                J Offline
                J Offline
                JackHammer
                wrote on last edited by
                #10

                @Alex-Kushleyev No actually I was just trying to rebuild the latest version as support for the recent ESC I recieved was added just 2 months ago, and until I build and moved the package, I was unable to see it. Didnt realize that it was just online for me to download, thank you for that link.

                The reason I got a new esc is because one of my coworkers crashed the drone and now the motors skip when we try to run voxl-esc spin . 3 of the motors are "iffy" and will skip a few times and sometimes spin normally while one of the motors just works fine. We received the new ESC, installed it, updated the voxl-esc package, and the odd behavior persists. We havent updated the parameters yet.

                We are wondering how do we get the correct parameters for our motor setup into the options for the drone? We can see 6 different options and none match our 2203 1500KV motors. They are black and there is an option that says black-motors but that feels incorrect?

                Please advise.

                Alex KushleyevA 1 Reply Last reply
                0
                • J JackHammer

                  @Alex-Kushleyev No actually I was just trying to rebuild the latest version as support for the recent ESC I recieved was added just 2 months ago, and until I build and moved the package, I was unable to see it. Didnt realize that it was just online for me to download, thank you for that link.

                  The reason I got a new esc is because one of my coworkers crashed the drone and now the motors skip when we try to run voxl-esc spin . 3 of the motors are "iffy" and will skip a few times and sometimes spin normally while one of the motors just works fine. We received the new ESC, installed it, updated the voxl-esc package, and the odd behavior persists. We havent updated the parameters yet.

                  We are wondering how do we get the correct parameters for our motor setup into the options for the drone? We can see 6 different options and none match our 2203 1500KV motors. They are black and there is an option that says black-motors but that feels incorrect?

                  Please advise.

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

                  @JackHammer , can you please tell me which drone you have an post a picture of the motor just in case? I can point you to the correct parameters for your motor.

                  Alex

                  J 1 Reply Last reply
                  0
                  • Alex KushleyevA Alex Kushleyev

                    @JackHammer , can you please tell me which drone you have an post a picture of the motor just in case? I can point you to the correct parameters for your motor.

                    Alex

                    J Offline
                    J Offline
                    JackHammer
                    wrote on last edited by
                    #12

                    @Alex-Kushleyev We are running the starling 2 max drone with the 2203.5 KV1500 motors. The body is black with a gold/brass colored rim around the top edge of the rotor. I am not sure that I am able to take and post photos from inside the work place.

                    Alex KushleyevA 1 Reply Last reply
                    0
                    • J JackHammer

                      @Alex-Kushleyev We are running the starling 2 max drone with the 2203.5 KV1500 motors. The body is black with a gold/brass colored rim around the top edge of the rotor. I am not sure that I am able to take and post photos from inside the work place.

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

                      @JackHammer no problem.

                      This should be the esc param file for the Starling 2 Max motor : https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-esc/-/blob/dev/voxl-esc-params/D0012_Starling_MAX/esc_params_m0129_f2203_5_1500kv_7x3.7x3.xml

                      The param file should also be present in /usr/share/modalai/voxl-esc-params

                      Do you know how to update the esc parameters?

                      systemctl stop voxl-px4
                      cd /usr/share/modalai/voxl-esc-tools
                      ./voxl-esc-updload-params.py -p <full path to params file>
                      

                      After updating the params, you can run a "power ramp test", as shown here : https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-esc/-/blob/dev/voxl-esc-tools/doc/low_kv_motor_tuning.md?ref_type=heads#power-ramp-test . Use id=255 to spin all motors (and you can limit power to 80%)

                      ./voxl-esc-spin.py --id 255 --power 80 --ramp-time 3.0 --timeout 3.5 --enable-plot 1 --cmd-rate 250
                      

                      Since you can't display the plot on voxl2, a plot will be saved as html, which you get download from voxl2 and view in a browser.

                      You can do it without propellers (for safety). If all the motors are working properly, the four rpms will be very close to the same as the power ramps (within 100-200 rpm). Otherwise, you may have a bad motor that was damaged during the crash.

                      Link Preview Image
                      Starling 2 Max Replacement Parts

                      View available Starling 2 Max replacement parts via the drop down menu.  Note: There are two different sets of carbon fiber frames.  M10000929 is for use with the black & gold motors. Has a smaller motor mount spacing. For V3 SKU: D0012-4-V3-CXX-MXX-TX M10000868(Limited Stock) Will only work with the black & go

                      favicon

                      ModalAI, Inc. (www.modalai.com)

                      Alex

                      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