Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1585

Python • Re: Connect FPV Flight controller to Raspberry Pi 4

$
0
0
Hi, I am using INAV firmware with Matek H743 Flight controller.
I want to connect FC to Raspberry Pi and read data from lidar/optical flow and GPS sensors.

Culd you please provide me with documentation ? I dont know where to start. I have found how to connect Raspberry PI to FC on Ardupilot docs https://ardupilot.org/dev/docs/raspberr ... vlink.html . But it is about Ardupilot and I want to use INAV or Betaflight Firmware

I dont know which libraries I need to use in order to read data from FC. Hence two questions:

How to connect Raspberry Pi to FPV flight controller?
It's not totally obvious from the documentation, but I expect you'd connect the USB-C port on the Matek to a Pi USB port. I'd then expect the OS to create a serial device for you to use to communicate with it.

How to connect them programmatically on Raspberry PI side ? Which OS I need to use on Raspberry Pi4? Which libraries should be used in order to parse FC data and to control FPV drone through raspberry?

Thank you
We'll, that's more than two questions.

As I said, I expect a serial port to be created, which you will use for communicating.

The OS will be Raspberry Pi OS. Start with the 64-bit version, unless there is a real reason not to.

If the Matek uses mavlink then you should find a library. It depends on what programming language you use. For example, if you use Python you'd probably use pymavlink.

Time for some experiments.

By the way, what kind of a name is Yossarian?

Statistics: Posted by ame — Thu Jan 11, 2024 12:00 am



Viewing all articles
Browse latest Browse all 1585

Trending Articles