How do I control pixhawk with mavros and home built motion capture system?

6 ビュー (過去 30 日間)
Greg Klein
Greg Klein 2019 年 10 月 5 日
回答済み: Tanmay Das 2021 年 7 月 28 日
Here is my setup:
I have a pixhawk 4 drone running px4, with an onboard Odroid XU4 computer that I am running Ubuntu LTS 14.04 on.
I initiate mavros on the ODroid via putty on my Ground Control Station where I am able to subscribe to and publish to /MAVROS/LOCAL_POSITION/POSE
but this is where I am stuck. I can measure the position of my drone with my home built motion capture system that runs in matlab, but I don't know how to initially zero the position and send it directions to move. I am new to mavros and ros, any direction will help!
Basically, I need to know how to control my drone from Matlab from motion capture measured positions

回答 (1 件)

Tanmay Das
Tanmay Das 2021 年 7 月 28 日
You can refer to the following documentations in order to get a fair idea of the ROS Toolbox. You can send ROS messages to the MAVROS running on the UAV using ROS toolbox.

Community Treasure Hunt

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

Start Hunting!

Translated by