MavRouter
Simple easy app to run mavproxy and forward Serial / UDP input to new UDP
Install / Use
/learn @alireza787b/MavRouterREADME
MavRouter V1.0
MavRouter is an open-source graphical user interface (GUI) application designed to facilitate the routing of MAVLink traffic. It enables users to configure the source as either a serial port or a UDP endpoint and set up two destination output ports, simplifying the process of interfacing with MAVProxy for UAV telemetry and command protocols.
Features
- Switch between Serial and UDP source types.
- Configure serial port settings including baud rate.
- Set up two distinct MAVLink output ports.
- Optional integration with MAVProxy's map and console windows.
- User input validation for serial and UDP configurations.
Installation
Prerequisites
- Python 3.x
- MAVProxy, which can be installed via pip or from the official site.
Using Binary File
Pre-built binaries for macOS and Windows and Ubuntu 22.04 are available on the releases page. These executables include all necessary dependencies, offering a straightforward setup.
Getting Started with Source Code
If you prefer to use the source code directly, you can clone the repository and set up the environment as follows:
-
Clone the Repository Clone MavRouter to your local machine using Git:
git clone https://github.com/alireza787b/mavRouter.git -
Install Dependencies Navigate to the cloned directory and install the required dependencies:
cd mavRouter pip install -r requirements.txtNote for Ubuntu Users: If you encounter an error related to
tkinter, you may need to install it separately. This can be done using the following command:sudo apt-get install python3-tk -
Run the Application Launch MavRouter by executing the Python script:
python mavRouter.py
Usage
MavRouter can be used in various scenarios, such as:
- Redirecting MAVLink data from UAV hardware to a software instance running on WSL, MAVSDK, or MAVROS.
- Routing telemetry data from Pixhawk to devices within a Wi-Fi network.
- Supporting UAV software development and testing by providing MAVLink data to network endpoints.
Contribution
Contributions to MavRouter are welcome. Feel free to fork the repository, make changes, and submit pull requests.
Author
Alireza Ghaderi
License
MavRouter is released under the MIT license. Feel free to use, modify, and distribute it as per the license agreement.
