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

    How to calibrate modalai esc v2 Rev B ?

    VOXL 2
    3
    8
    198
    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.
    • Tamas Pal 0T
      Tamas Pal 0
      last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • Chad SweetC
        Chad Sweet ModalAI Team
        last edited by

        https://docs.modalai.com/modal-esc-v2-manual/#calibration

        Tamas Pal 0T 1 Reply Last reply Reply Quote 0
        • Tamas Pal 0T
          Tamas Pal 0 @Chad Sweet
          last edited by Tamas Pal 0

          Thanks @Chad-Sweet
          I am having this issue

          tamas@tamas:~/Develop/voxl-esc/tools$ python2.7 voxl-esc-scan.py 
          Traceback (most recent call last):
            File "voxl-esc-scan.py", line 37, in <module>
              from libesc import *
            File "tools/libesc/__init__.py", line 8, in <module>
            File "tools/libesc/esc.py", line 8, in <module>
          ImportError: No module named numpy
          tamas@tamas:~/Develop/voxl-esc/tools$ python3 voxl-esc-scan.py
            File "/home/tamas/Develop/voxl-esc/tools/voxl-esc-scan.py", line 49
              print 'ERROR: Please provide baud rate with --baud-rate option'
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
          

          How to fix it?

          1 Reply Last reply Reply Quote 0
          • Alex KushleyevA
            Alex Kushleyev ModalAI Team
            last edited by

            https://gitlab.com/voxl-public/flight-core-px4/voxl-esc/-/tree/master/tools#installation-instructions-for-ubuntu-1604 Please check these steps

            1 Reply Last reply Reply Quote 0
            • Alex KushleyevA
              Alex Kushleyev ModalAI Team
              last edited by

              Also, the current tools are supported on python 2.7 only but we are working on update for python 3

              Tamas Pal 0T 1 Reply Last reply Reply Quote 0
              • Tamas Pal 0T
                Tamas Pal 0 @Alex Kushleyev
                last edited by

                @Alex-Kushleyev Do I have calibrate the esc to fly voxl2 based quad?

                1 Reply Last reply Reply Quote 0
                • Alex KushleyevA
                  Alex Kushleyev ModalAI Team
                  last edited by

                  ESC calibration is required whenever you change motor or propeller or battery voltage. Do you have a custom quadrotor or was it pre-built when you purchased it with VOXL2?

                  Tamas Pal 0T 1 Reply Last reply Reply Quote 0
                  • Tamas Pal 0T
                    Tamas Pal 0 @Alex Kushleyev
                    last edited by Tamas Pal 0

                    @Alex-Kushleyev I am making a quadcopter with voxl2 and the modalai esc. I am trying to calibrate the esc. I am able to run the script but having this issue while scanning the esc with ftdi cable although I am able to run the motors with voxl2 J18 port.

                    /voxl-esc/tools$ python voxl-esc-scan.py 
                    INFO: Device and baud rate are not provided, attempting to autodetect..
                    Scanning for ESC firmware: /dev/ttyUSB0, baud: 250000
                    Scanning for ESC firmware: /dev/ttyUSB0, baud: 2000000
                    Scanning for ESC firmware: /dev/ttyUSB0, baud: 921600
                    Scanning for ESC firmware: /dev/ttyUSB0, baud: 57600
                    Scanning for ESC firmware: /dev/ttyUSB0, baud: 115200
                    Scanning for ESC firmware: /dev/ttyUSB0, baud: 230400
                    Scanning for ESC bootloader: /dev/ttyUSB0, baud: 38400
                    Scanning for ESC bootloader: /dev/ttyUSB0, baud: 230400
                    Scanning for ESC bootloader: /dev/ttyUSB0, baud: 921600
                    ERROR: No ESC(s) detected, exiting.
                    

                    Is there any way to calibrate esc using voxl2?

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