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

    Servo actuation from VOXl 2 to flightcore V2

    Ask your questions right here!
    1
    1
    13
    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.
    • V
      vinesh_sou
      last edited by

      Hi all,
      I have connected my VOXL 2 to the flightcore v2 via UART from the J3 port in the M0151 breakout board to the TELEM 1 port on the Flightcore v2. I have connected a servo on the 8th main channel and have configured it for actuation by setting the PWM_MAIN_FUNC8 to 204. I am able to actuate it via QGC when i have connected it via USB. But I want to control the servo pitch via mavlink commands through the /dev/ttyHS1 port. I am very new to VOXL programming so any help would be appreciated.
      I'd like to autonomously control the pitch of the servo (a camera would be mounted on it) using the tracker pixel coordinates. I have successfully ran a tracker on the VOXL 2 by subscribing the frames from the camera-server.
      Now i'd like to control the servo PWMs autonomously using the visual cues. Initially i'd just like to establish the mavlink connection between the VOXl 2 and the fligthcore. Can I use the existing MPA plumbing for this or do i have to directly access the port.
      ANy guidance would mean a lot.
      Thank you

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