• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
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.
    • J
      John Mccarty
      last edited by 1 Dec 2021, 19:33

      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
      • M
        modaltb ModalAI Team
        last edited by 2 Dec 2021, 04:42

        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

        J 1 Reply Last reply 6 Dec 2021, 11:49 Reply Quote 0
        • J
          John Mccarty
          last edited by 2 Dec 2021, 08:46

          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
          • J
            John Mccarty @modaltb
            last edited by 6 Dec 2021, 11:49

            @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
            • M
              modaltb ModalAI Team
              last edited by 6 Dec 2021, 14:08

              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
              • J
                John Mccarty
                last edited by 6 Dec 2021, 14:49

                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
                • J
                  John Mccarty
                  last edited by 7 Dec 2021, 05:43

                  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
                  • M
                    modaltb ModalAI Team
                    last edited by 7 Dec 2021, 14:50

                    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
                    1 out of 8
                    • First post
                      1/8
                      Last post
                    Powered by NodeBB | Contributors