PX4 external mode with ubuntu

2 ビュー (過去 30 日間)
Iftach Naftaly
Iftach Naftaly 2019 年 12 月 20 日
コメント済み: Githin John 2020 年 1 月 9 日
Hi guys,
Im running 2018b version, with Ubuntu 18.04. I already installed the support package and fixed the toolchain for the firmware.
I just bought my first pixhawk 4 (by radiolink), and im trying to simply read the accelometer sensor with a simple model in the simulink:
Screenshot from 2019-12-20 17-34-59.png
when I try to build the model and start read the values, I get the following message:
Screenshot from 2019-12-20 17-37-16.png
I opened the Model Configuration Parameters, and tried to figure out what ports should I set.
I opened a new terminal window and type lsusb, and I found out the it is "ttyACM0", so I set this port in both "Building Options" and "External Mode", but It still dosent work and I get the same error.
Here is how I tried to set the ports on the Model Configuration Parameters:
Screenshot from 2019-12-20 17-42-29.png
Screenshot from 2019-12-20 17-41-40.png
anyone have an idie what may be the problem?
Thanks,
Iftach.
  1 件のコメント
Githin John
Githin John 2020 年 1 月 9 日
How have you connected the Pixhawk to the PC. Direct USB cable connection or via telemetry. This port mapping might help.

サインインしてコメントする。

回答 (0 件)

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by