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

    doodle labs and joystick setup

    Ask your questions right here!
    2
    23
    434
    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.
    • Eric KatzfeyE
      Eric Katzfey ModalAI Team @Jetson Nano
      last edited by

      @Jetson-Nano said in doodle labs and joystick setup:

      This is the output i am getting while running listener manual_control_setpoint

      What is the parameter COM_RC_IN_MODE set to?

      Jetson NanoJ 1 Reply Last reply Reply Quote 0
      • Jetson NanoJ
        Jetson Nano @Eric Katzfey
        last edited by

        @Eric-Katzfey COM_RC_IN_MODE is set to joystick only

        1 Reply Last reply Reply Quote 0
        • Jetson NanoJ
          Jetson Nano @Eric Katzfey
          last edited by Jetson Nano

          @Eric-Katzfey Hey hope you are doing fine, I checked the code and various branches of PX4, I noticed I was able to see the parameter VOXL_ESC_T_ON but the option only showcased button 1 for assignment . what to do if I want to assign another button.

          Eric KatzfeyE 1 Reply Last reply Reply Quote 0
          • Eric KatzfeyE
            Eric Katzfey ModalAI Team @Jetson Nano
            last edited by

            @Jetson-Nano You set that parameter to match the button you want to use.

            Jetson NanoJ 1 Reply Last reply Reply Quote 0
            • Jetson NanoJ
              Jetson Nano @Eric Katzfey
              last edited by

              @Eric-Katzfey Thank you for reverting back, The options only show one option button 1. I tested with button one but the drone was not taking in the command for enabling the turtle mode.
              I want to know whether the code was tested out, so that I can be sure about not missing out on any parameter or setup

              Eric KatzfeyE 1 Reply Last reply Reply Quote 0
              • Eric KatzfeyE
                Eric Katzfey ModalAI Team @Jetson Nano
                last edited by

                @Jetson-Nano It's a parameter that you can set to any number you want. In QGC you can look at the joysticks tab and see as you press each button which number it is. Then set the parameter to that number.

                Jetson NanoJ 1 Reply Last reply Reply Quote 0
                • Jetson NanoJ
                  Jetson Nano @Eric Katzfey
                  last edited by

                  @Eric-Katzfey I am not able to setup multiple buttons, it is only showing one option of button 1.
                  Also after assigning the button one and trying to enable and use turtle mode, it is not working.
                  Is there any particular version of px4 that this works with.
                  My setup is VOXL 2 ---> TELEM 1 --> Flight core v2 --> TELEM 2 --> FPV ESC
                  In normal setup the motors are working and rotating, but when I try to keep the drone upside down and enable the turtle mode , the QGC is still showing not ready message. Also I am not able to ARM because of this.
                  Is there anything I am missing out?

                  Jetson NanoJ 1 Reply Last reply Reply Quote 0
                  • Jetson NanoJ
                    Jetson Nano @Jetson Nano
                    last edited by

                    @Eric-Katzfey could you please help me out here

                    Eric KatzfeyE 2 Replies Last reply Reply Quote 0
                    • Eric KatzfeyE
                      Eric Katzfey ModalAI Team @Jetson Nano
                      last edited by Eric Katzfey

                      @Jetson-Nano Let's try to walk through this and see where it is going wrong. Please provide answers to all of the following questions. Go to the joystick tab in QGC and press the button on the joystick that you want to use for turtle mode. Which number lights up when you press the button? Next, go to the MAVLink console and provide the output of these commands: ver all, listener manual_control_setpoint, param show VOXL_ESC_MODE, param show VOXL_ESC_T_ON, and param show COM_RC_IN_MODE. If VOXL_ESC_T_ON is not set to the number of the button you just discovered on the joystick tab then change it to the value you want. For example, by default VOXL_ESC_T_ON is set to 9. If you want to use button 10 instead then do param set VOXL_ESC_T_ON 10. If you had to change that parameter then reboot and verify that it is now set correctly. You should see the aux1 value in manual_control_setpoint change from 0.0 to 1.0 when you press the button that you have chosen. Can you verify that you are seeing that?

                      1 Reply Last reply Reply Quote 0
                      • Eric KatzfeyE
                        Eric Katzfey ModalAI Team @Jetson Nano
                        last edited by

                        @Jetson-Nano If all that seems to be working then press the turtle button and arm (with drone right side up, not upside down) and verify that with turtle mode enabled the propellers are spinning in the opposite direction and the drone won't lift off. Of course, you must be extremely careful when running this test!!! Make sure that the drone is in a location where it cannot cause damage or injure someone if it goes out of control. It would be best to completely remove the propellers and just verify that the motors are spinning in the opposite direction of normal flight.

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