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

    VOXL2 IO independent Disarm PWM value per channel?

    Ask your questions right here!
    2
    2
    83
    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.
    • G
      Gary Holmgren
      last edited by 4 Feb 2025, 09:36

      Hi, I’d like to be able to assign specific channels with separate PWM disarm values as various motors I am using have different settings with their respective ESCs. I know this is fairly standard for other FC’s including the FCv2 where I’m able to set a min/max and disarm value for each of the 8 channels independently. Currently when I go to disarm I’m stuck with some motors spinning and some not unless I make a MAVSDK script to disable the motor parameters depending on what I’m doing. It would be nice to not have to worry about that though.

      Would there be a way to implement this or does the px4 driver for the M0065 have to be rewritten to accommodate?

      A 1 Reply Last reply 4 Feb 2025, 22:23 Reply Quote 0
      • A
        Alex Kushleyev ModalAI Team @Gary Holmgren
        last edited by 4 Feb 2025, 22:23

        Hi @Gary-Holmgren,

        We tested this functionality but due to insufficient demand, we did not mainline it, because it would require parameter change and could cause confusion.

        https://github.com/modalai/px4-firmware/commit/abd04fafa746af512960a1de2386d5d7f6cb512a

        However, you should be able to cherry pick this commit into latest px4-firmware from voxl-dev branch or whatever you are using now.

        No need to modify M0065 because the interface between VOXL2 and M0065 does not specify the limits - M0065 just creates the pulse of the specific length that VOXL2 requests and M0065 does not care about the limits, so all the logic is done in VOXL2 / PX4.

        After this change, the voxl2_io driver will look for the following px4 params, which have standard convention / naming. Defaults will be used if not specified.
        (for x=1:8)

        • VOXL2_IO_FUNCx
        • VOXL2_IO_MINx
        • VOXL2_IO_MAXx
        • VOXL2_IO_DISx
        • VOXL2_IO_FAILx

        Alex

        1 Reply Last reply Reply Quote 1
        1 out of 2
        • First post
          1/2
          Last post
        Powered by NodeBB | Contributors