External MAVLink Connection using VOXL 2 through ttyHS1
-
I'm looking to establish an external MAVLink connection to the voxl-px4 service on VOXL 2 through the ttyHS1 of the USB3 expansion board. I'm looking to integrate a third party RemoteID module, and am not implementing an external flight controller.
All the documentation and questions on the forum I could find seem to reference an external flight controller use case, or an internal MAVROS/MAVSDK use case. How do I go about configuring the mavlink-server to output MAVLink on this external UART while maintaining the VOXL 2's PX4 capability.
-
@Jeremy-Frederick said in External MAVLink Connection using VOXL 2 through ttyHS1:
I'm looking to establish an external MAVLink connection to the voxl-px4 service on VOXL 2 through the ttyHS1 of the USB3 expansion board. I'm looking to integrate a third party RemoteID module, and am not implementing an external flight controller.
@Jeremy-Frederick voxl-mavlink-server is meant to act similar to mavlink-router where it can route traffic (two way comms) between a specific port or hardline. How are you connecting to your remoteID module? Over the UART I would presume as that is the only way to send those packets. If you are using the USB3.0 port instead then you will need to either edit voxl-mavlink-server or create a mavlink-router to route the traffic to that port.
A bit more information on your setup would be great!
Zach -
@Zachary-Lowell-0 I'm attempting to communicate through the UART ttyHS1 that is made available on the USB expansion board.
-
@Jeremy-Frederick Without going through the voxl-mavlink-server source code in detail I'm pretty sure that what you want to do is not currently supported. So, some new functionality will likely need to be added to voxl-mavlink-server. What third party unit are you trying to integrate with? Does it require bi-directional traffic or does it just send out packets and not expect to receive anything?
-
@Eric-Katzfey Dronetag DRI, It expects to accept MAVLink data from the flight controller.
-
@Jeremy-Frederick Okay, well then you will need to add support for such an external Mavlink enabled peripheral into voxl-mavlink-server. We don't currently support that.