PX4 Console is an open-source command-line interface for PX4 Autopilot built on ROS 2. It allows users to control drones using simple text commands.
- Arm and disarm vehicles
- Enable Offboard mode
- Move the drone using simple commands
- Rotate the drone using yaw commands
- ROS 2 and PX4 integration
- Designed for simulation and real-world testing
- ROS 2 Humble (or newer)
- PX4 Autopilot
- px4_msgs
Clone the repository:
git clone https://github.com/Iskra-YT/px4_console.git
cd px4_consoleBuild:
colcon buildSource the workspace:
source install/setup.bashRun the console:
ros2 run px4_console consolearm: Arm the vehicledisarm: Disarm the vehicleoffboard: Enable Offboard modestart: Arm the vehicle and enable Offboard modeforward <distance>: Move forward by a specified distance (in meters)backward <distance>: Move backward by a specified distance (in meters)yaw <angle>: Rotate the drone by a specified angle (in degrees)
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.