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

    Change Pwm channel

    Ask your questions right here!
    2
    8
    444
    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.
    • John MccartyJ
      John Mccarty
      last edited by

      Hello my flight deck pwm connections is broke.Now I cant use channel 3 it does not recieve any signal from this channel..I want to use channel 6 instead of channel 3.How can i do this can you help me.

      1 Reply Last reply Reply Quote 0
      • modaltbM
        modaltb ModalAI Team
        last edited by

        Hi @John-Mccarty ,

        I haven't done this myself, but I think it should be possible with some hacking with PX4 mixers:

        https://docs.px4.io/v1.12/en/concept/mixing.html

        I've stuck to the default quad for everything I've ever done (same as default on your Fligh Deck), but you might be able to override using the SD card?

        https://docs.px4.io/master/en/concept/sd_card_layout.html

        John MccartyJ 1 Reply Last reply Reply Quote 0
        • John MccartyJ
          John Mccarty
          last edited by

          Thanks for your fast response I have not much experience in px4 code.I need more details. How do i change it and how do i integrate my changed codes into voxl ? I need help. Thanks again.

          1 Reply Last reply Reply Quote 0
          • John MccartyJ
            John Mccarty @modaltb
            last edited by

            @modaltb I tried what you wrote in your post,its work on pixhawk when you change mixers file and override with sdcard but on voxl it doesnt work what is the differences between voxl px4 and pixhawk px4 ?

            1 Reply Last reply Reply Quote 0
            • modaltbM
              modaltb ModalAI Team
              last edited by

              Hi @John-Mccarty ,

              They 'should' operate the same. One quick thing to check, there are two SD cards on VOXL-Flight, one accessible by the Yocto Linux side, the other by PX4 FW. You want to use the bottom right one in this picture for this use case.

              https://docs.modalai.com/voxl-flight-datasheet-connectors/

              84156103-2115-4dbc-a706-d62ae04199ac-image.png

              1 Reply Last reply Reply Quote 0
              • John MccartyJ
                John Mccarty
                last edited by

                thanks for your fast response I inserted the sd card in the right place as in the picture but it still use default mixers file. I placed the changed mixer file in to /etc/mixers/ directory inside sd card.

                1 Reply Last reply Reply Quote 0
                • John MccartyJ
                  John Mccarty
                  last edited by

                  It has solved. The problem was the hardware connection .Now I could change pwm channel with hacking mixers file and overriding with sd card.Thanks for your helping.

                  1 Reply Last reply Reply Quote 0
                  • modaltbM
                    modaltb ModalAI Team
                    last edited by

                    Alright! Thanks for the update, I'll likely use this post to get some updates to our docs, appreciate it!

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