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

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Turtle mode compatibility with non Modalai ESC

Turtle mode compatibility with non Modalai ESC

Scheduled Pinned Locked Moved Ask your questions right here!
17 Posts 4 Posters 1.2k Views 3 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.
  • Alex KushleyevA Alex Kushleyev

    @Jetson-Nano , it seems that Vertiq has PX4 support, so you should be able to modify their driver to enable the turtle mode. The mode is triggered by checking the RC switch within the voxl-esc driver.

    Link Preview Image
    Building and Flashing PX4 and ArduPilot Firmware with IQUART Flight Controller Interface — Vertiq API and Usage 0.12.0 documentation

    favicon

    (iqmotion.readthedocs.io)

    If you disable the voxl-esc driver, PX4 should work fine, as long as you correctly update the PX4 parameters to use another ESC type.

    Alex

    Jetson NanoJ Offline
    Jetson NanoJ Offline
    Jetson Nano
    Veteran
    wrote on last edited by
    #5

    @Alex-Kushleyev Thank you for the support.
    Also I noticed only the VOXL-FPV-DEV version only have the voxl_esc_t_on option to control the esc through the joystick, The main version of modalai PX4 fork do not have them, is it under development.
    The FPV-dev version do not support collision prevention, so i had to roll up to the main version, which gave me this issue.

    Alex KushleyevA Eric KatzfeyE 2 Replies Last reply
    0
    • Jetson NanoJ Jetson Nano

      @Alex-Kushleyev Thank you for the support.
      Also I noticed only the VOXL-FPV-DEV version only have the voxl_esc_t_on option to control the esc through the joystick, The main version of modalai PX4 fork do not have them, is it under development.
      The FPV-dev version do not support collision prevention, so i had to roll up to the main version, which gave me this issue.

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

      @Jetson-Nano , this question is probably for @Eric-Katzfey

      Jetson NanoJ 1 Reply Last reply
      0
      • Alex KushleyevA Alex Kushleyev

        @Jetson-Nano , this question is probably for @Eric-Katzfey

        Jetson NanoJ Offline
        Jetson NanoJ Offline
        Jetson Nano
        Veteran
        wrote on last edited by
        #7

        @Alex-Kushleyev ok thank you, I will wait for @Eric-Katzfey reply

        1 Reply Last reply
        0
        • Jetson NanoJ Jetson Nano

          @Alex-Kushleyev Thank you for the support.
          Also I noticed only the VOXL-FPV-DEV version only have the voxl_esc_t_on option to control the esc through the joystick, The main version of modalai PX4 fork do not have them, is it under development.
          The FPV-dev version do not support collision prevention, so i had to roll up to the main version, which gave me this issue.

          Eric KatzfeyE Online
          Eric KatzfeyE Online
          Eric Katzfey
          ModalAI Team
          wrote on last edited by
          #8

          @Jetson-Nano This is a feature that was designed specifically for our FPV drones so that is the only branch that has it supported.

          Jetson NanoJ 2 Replies Last reply
          0
          • Eric KatzfeyE Eric Katzfey

            @Jetson-Nano This is a feature that was designed specifically for our FPV drones so that is the only branch that has it supported.

            Jetson NanoJ Offline
            Jetson NanoJ Offline
            Jetson Nano
            Veteran
            wrote on last edited by Jetson Nano
            #9

            @Eric-Katzfey Thank you for reverting back, why does collision prevention not working with this px4 version.

            The obstacle_distance topic is not showing in any mpc_pos_mod

            1 Reply Last reply
            0
            • Eric KatzfeyE Eric Katzfey

              @Jetson-Nano This is a feature that was designed specifically for our FPV drones so that is the only branch that has it supported.

              Jetson NanoJ Offline
              Jetson NanoJ Offline
              Jetson Nano
              Veteran
              wrote on last edited by
              #10

              @Eric-Katzfey hey, if I would like to implement the same in the main px4 fork (modalai) what all would i have to change.

              Jetson NanoJ 1 Reply Last reply
              0
              • Jetson NanoJ Jetson Nano

                @Eric-Katzfey hey, if I would like to implement the same in the main px4 fork (modalai) what all would i have to change.

                Jetson NanoJ Offline
                Jetson NanoJ Offline
                Jetson Nano
                Veteran
                wrote on last edited by
                #11

                @Eric-Katzfey Hey, could you please help me with this issue?

                tomT 1 Reply Last reply
                0
                • Jetson NanoJ Jetson Nano

                  @Eric-Katzfey Hey, could you please help me with this issue?

                  tomT Offline
                  tomT Offline
                  tom
                  admin
                  wrote on last edited by
                  #12

                  @Jetson-Nano This is where the logic for turtle mode can be found in the voxl-esc driver: https://github.com/modalai/px4-firmware/blob/voxl-dev/src/drivers/actuators/voxl_esc/voxl_esc.cpp#L330

                  You'd have to modify px4 to pull this logic into the driver you're using

                  Jetson NanoJ 1 Reply Last reply
                  0
                  • tomT tom

                    @Jetson-Nano This is where the logic for turtle mode can be found in the voxl-esc driver: https://github.com/modalai/px4-firmware/blob/voxl-dev/src/drivers/actuators/voxl_esc/voxl_esc.cpp#L330

                    You'd have to modify px4 to pull this logic into the driver you're using

                    Jetson NanoJ Offline
                    Jetson NanoJ Offline
                    Jetson Nano
                    Veteran
                    wrote on last edited by
                    #13

                    @tom I am using the Modalai Main fork of PX4 which already have the turtle mode, I just want the turtle mode to be enabled through joystick.

                    Eric KatzfeyE 1 Reply Last reply
                    0
                    • Jetson NanoJ Jetson Nano

                      @tom I am using the Modalai Main fork of PX4 which already have the turtle mode, I just want the turtle mode to be enabled through joystick.

                      Eric KatzfeyE Online
                      Eric KatzfeyE Online
                      Eric Katzfey
                      ModalAI Team
                      wrote on last edited by
                      #14

                      @Jetson-Nano It's hard to follow what you are asking. Are you trying to add turtle mode to another ESC driver? Are you trying to get turtle mode working with a joystick and VOXL ESC?

                      Jetson NanoJ 1 Reply Last reply
                      0
                      • Eric KatzfeyE Eric Katzfey

                        @Jetson-Nano It's hard to follow what you are asking. Are you trying to add turtle mode to another ESC driver? Are you trying to get turtle mode working with a joystick and VOXL ESC?

                        Jetson NanoJ Offline
                        Jetson NanoJ Offline
                        Jetson Nano
                        Veteran
                        wrote on last edited by
                        #15

                        @Eric-Katzfey

                        I am sorry for the confusion , I started the thread for another ESC, that is cleared.

                        Now I am asking with respect to modal ai FPV ESC.

                        The issue I am facing now is, the VOXL-FPV-DEV fork of px4 has turtle mode for joystick and button.
                        The Main fork of the PX4 do not carry this feature.
                        I would like to incorporate this feature in the Main fork.

                        The reason I switched from fpv-dev to main, was collision prevention error. The VOXL-FPV-DEV do not have collision prevention working properly.

                        I hope my questions are clear now.

                        Eric KatzfeyE 1 Reply Last reply
                        0
                        • Jetson NanoJ Jetson Nano

                          @Eric-Katzfey

                          I am sorry for the confusion , I started the thread for another ESC, that is cleared.

                          Now I am asking with respect to modal ai FPV ESC.

                          The issue I am facing now is, the VOXL-FPV-DEV fork of px4 has turtle mode for joystick and button.
                          The Main fork of the PX4 do not carry this feature.
                          I would like to incorporate this feature in the Main fork.

                          The reason I switched from fpv-dev to main, was collision prevention error. The VOXL-FPV-DEV do not have collision prevention working properly.

                          I hope my questions are clear now.

                          Eric KatzfeyE Online
                          Eric KatzfeyE Online
                          Eric Katzfey
                          ModalAI Team
                          wrote on last edited by
                          #16

                          @Jetson-Nano Okay, well we don't support that right now. If you want to make your own build then you can probably just replace all of the files in the src/drivers/actuators/voxl_esc with the files from the voxl-fpv-dev branch.

                          Jetson NanoJ 1 Reply Last reply
                          0
                          • Eric KatzfeyE Eric Katzfey

                            @Jetson-Nano Okay, well we don't support that right now. If you want to make your own build then you can probably just replace all of the files in the src/drivers/actuators/voxl_esc with the files from the voxl-fpv-dev branch.

                            Jetson NanoJ Offline
                            Jetson NanoJ Offline
                            Jetson Nano
                            Veteran
                            wrote on last edited by
                            #17

                            @Eric-Katzfey

                            Thank you for reverting back. I am trying to proceed with the same approach.
                            I am facing some errors while going with this approach , I am trying to debug them.

                            Another approach :-
                            I am also thinking to hardcode the joystick based turtle mode to the voxl_esc.cpp.
                            The manual control values will be monitored and once the value of the assigned button is clicked, the turtle mode will be enabled.
                            Do you think it is a good approach?

                            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