Servo actuation from VOXl 2 to flightcore V2
-
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
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login