i can't recieve information using (pixhawk4, telemetry)

2 ビュー (過去 30 日間)
지행 이
지행 이 2023 年 1 月 26 日
回答済み: Manoj Velmurugan 2023 年 2 月 3 日
i want recive Quaternion information from pixhawk4mini using Holybro SiK Telemetry Radio
What should I do
I want to interpret Pixhawk data on the host computer

採用された回答

Manoj Velmurugan
Manoj Velmurugan 2023 年 2 月 3 日
Telemetry radio would appear as a serial port on the host PC.
For reading MAVLink data using MATLAB,
  1. Read the raw bytes using serialport read()
  2. Create a mavlinkdialect object
  3. Decode the uint8 buffer using deserializemsg()
For reading MAVLink data using Simulink,
  1. Read serial port data using the Serial Receive block. Set the COM port, data length, and sample time.
  2. Parse the raw serial data into Simulink bus using MAVLink Deserializer block.

その他の回答 (0 件)

製品


リリース

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by