PX4 HIL with Pixhawk 6x : HIL with simulink plant dynamics using Sik Telemetry Radio
조회 수: 2 (최근 30일)
이전 댓글 표시
I'm trying to run the px4demo(https://uk.mathworks.com/help/supportpkg/px4/ref/hitl-simulink-plant-example.html ) in HIL with Pixhawk 6x with UAV dynamics in Simulink.I'm following all the steps described in the URL above, the only difference is that i'm not using a UDP connection but a Sik telemtry radio instead of Serial-to-USB FTDI converter. When I open the UAV_dynamics_Autopilot_comunication simulink file, there's the Mavlink bridge Source and Mavlink bridge sink where I have to select the COM port of the Pixhawk 6x. Now which port do I have to select? The pixhawk is connected via micro-USB(COM9) and the Sik telemetry radio(COM 10).Can I use the telemetry radio instead of the Serial-to-USB FTDI converter?
댓글 수: 0
채택된 답변
Ankur Bose
2023년 10월 13일
The COM port should be one over which you want to communication between plant and Autopilot to happen. If you want the MAVLink data between plant and controller to run over USB (use your micro USB port), otherwise use the FTDI port.
Note: It is recommended to run the HITL communication between plant & Autopilot over USB to avoid performance related issues
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!