Skip to content

CQU-UISC/px4ctrl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

UISC Lab Px4Ctrl

Px4Ctrl

license

About

ROS2 Wrapper for The Px4 Autopilot

Prerequisites

To use this repository, you are required to install both px4ctrl_client and px4ctrl_msgs.

Dependencies

Architecture

+-----------------------+
|   Flight Controller   |
|     (PX4 Firmware)    |
+-----------+-----------+
            ^
            | MAVLink (UART/TCP)
            v
+-----------+-------------------------------------------------------+
|             Onboard Computer (ROS 2 Environment)                  |
|                                                                   |
|   +--------------+         ROS 2         +-------------------+    |
|   | mavlink_node | <===================> |      px4ctrl      |    |
|   +--------------+       (Odom/Ctrl)     +---------+---------+    |
|                                                    ^              |
|                                              ROS 2 |              |
|   +--------------------+                           |              |
|   | custom_controllers | <=========================+              |
|   +--------------------+                                          |
|                                                                   |
|   .............................................................   |
|                                                                   |
|                      ZMQ (IPC/TCP)                                |
|                            |                                      |
|                            v                                      |
|                  +------------------+                             |
|                  | Zmq Proxy Server |                             |
|                  | (Current Deployment)                           |
|                  +---------+--------+                             |
+----------------------------+--------------------------------------+
                             ^
                             | ZMQ (Network/WiFi)
                             v
+----------------------------+--------------------------------------+
|                       Laptop (Client)                             |
|                                                                   |
|                  +------------------+                             |
|                  |  px4ctrl_client  |                             |
|                  +------------------+                             |
+-------------------------------------------------------------------+

Installation

git clone https://github.com/Luxru/px4ctrl.git
cd px4ctrl
git submodule update --init --recursive
mkdir build && cd build
cmake ..
make -j4

Contact

Xu Lu - lux@cqu.edu.cn

Acknowledgments

About

px4ctrl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 92.0%
  • Python 6.1%
  • CMake 1.9%