Effacer les filtres
Effacer les filtres

PX4 external mode with ubuntu

1 vue (au cours des 30 derniers jours)
Iftach Naftaly
Iftach Naftaly le 20 Déc 2019
Commenté : Githin John le 9 Jan 2020
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 commentaire
Githin John
Githin John le 9 Jan 2020
How have you connected the Pixhawk to the PC. Direct USB cable connection or via telemetry. This port mapping might help.

Connectez-vous pour commenter.

Réponses (0)

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by