필터 지우기
필터 지우기

PX4 external mode with ubuntu

조회 수: 1 (최근 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