Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

277 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KRAC – Autonomous VTOL Aircraft Development

Design, integration, and validation of an autonomous VTOL aircraft for the Korean Robot Aircraft Competition (KRAC) using ROS2, PX4, MAVROS, vector field guidance, mission management, and autonomous flight control.

Highlights

ROS2 Gazebo Simulation Real VTOL Flight Test Autonomous Waypoint Flight

Project Focus

Overview

This project presents the end-to-end development of an autonomous VTOL aircraft for the Korean Robot Aircraft Competition (KRAC).

The project covered the full engineering workflow, including aircraft design, aerodynamic analysis, onboard electronic integration, autonomous flight software development, guidance and control, mission management, simulation validation, and real flight testing.

The final system was designed to execute autonomous takeoff, forward transition, fixed-wing flight, target observation, back transition, multicopter mission execution, obstacle avoidance, disturbance rejection, and landing.


Technology Stack

Flight Control Robotics Guidance & Planning Perception Programming
PX4 ROS2 Vector Field Guidance OpenCV C++
MAVROS Gazebo Mission Planning Camera System Python
QGroundControl RViz Path Following Gimbal Control MATLAB

Project Summary

  • Designed and built a custom autonomous VTOL aircraft from prototype development to real flight testing.
  • Designed and built a custom autonomous VTOL aircraft.
  • Developed a ROS2–PX4 autonomous flight framework.
  • Implemented autonomous mission protocols for VTOL operation.
  • Integrated vector field guidance into the flight system.
  • Performed aerodynamic analysis using CFD, OpenVSP, and XFLR5.
  • Validated autonomous missions through simulation and outdoor flight tests.

The KRAC team developed a custom VTOL aircraft capable of autonomously executing competition missions requiring both fixed-wing and multicopter flight.

The project involved the entire engineering workflow, from conceptual aircraft design and aerodynamic analysis to onboard electronics integration, autonomous software development, simulation-based verification, and outdoor flight testing.


My Contributions

Autonomous Flight Software

  • Developed a ROS2-based autonomous mission framework for a PX4-controlled VTOL aircraft.
  • Implemented the complete autonomous mission protocol, including takeoff, waypoint navigation, forward transition, fixed-wing flight, back transition, multicopter operation, and autonomous landing.
  • Developed mission state management for reliable autonomous mission execution.

Guidance Integration

  • Integrated an existing vector field guidance algorithm into the autonomous VTOL flight framework.
  • Implemented waypoint-following and mission sequencing using the vector field guidance module.
  • Verified guidance performance through ROS2 simulation and outdoor flight testing.

VTOL Simulation

  • Built a ROS2–PX4 SITL simulation environment for autonomous VTOL development.
  • Implemented MAVROS communication between the companion computer and the PX4 flight controller.
  • Validated autonomous mission logic through simulation before real flight experiments.

System Integration

  • Integrated onboard sensors, telemetry, cameras, and companion computing into the autonomous flight system.
  • Developed ROS2 nodes for mission management and hardware interfaces.
  • Participated in aircraft integration, field deployment, and autonomous mission validation.

Simulation Environment

Before real-world flight experiments, the complete autonomous mission workflow was validated through a simulation environment.

Simulation Features

  • ROS2-based autonomous mission system
  • PX4 SITL simulation
  • MAVROS communication interface
  • Mission sequence verification
  • Vector field guidance validation
  • Controller performance evaluation
  • Pre-flight logic testing before outdoor experiments

Mission System Architecture

The autonomous mission system coordinates flight control, mission management, object detection, communication, and camera operation through a ROS2-based software architecture.

Major Components

  • Autonomous Mission Manager
  • PX4 Flight Controller
  • ROS2 Mission Nodes
  • MAVROS Interface
  • Mission State Machine
  • Object Detection Module
  • Camera Gimbal Control
  • Telemetry and Communication System

Electronic System Integration

The onboard electronic architecture integrates flight control hardware, companion computing, sensors, cameras, communication devices, and power management into a unified autonomous platform.

Hardware Components

  • Pixhawk Flight Controller
  • Companion Computer
  • GPS Module
  • Telemetry Radio
  • Camera
  • Camera Gimbal
  • ESC
  • Power Distribution Board
  • Battery Management System

Prototype Design Evolution

Prototype 2 was developed by improving the limitations identified during the flight tests of Prototype 1. The redesigned airframe improved structural reliability, flight stability, and mission performance.

Key Improvements

  • Improved wing attachment mechanism
  • Pusher propulsion configuration
  • Redesigned tail structure
  • Enhanced quadrotor stability
  • Passenger cabin integration
  • Improved maintainability for field testing

Control Surface Design and Aerodynamic Analysis

The control surface was designed through an integrated workflow combining aerodynamic simulation, analytical modeling, and mechanical linkage analysis.

First, aerodynamic characteristics were evaluated using CFD, OpenVSP, and XFLR5 to estimate lift, drag, and stability derivatives. These results were incorporated into the aircraft dynamic equations to determine the required control authority.

Based on the desired roll and pitch performance, the practical control surface deflection range was calculated, and the neutral servo position was calibrated to maximize usable servo travel while avoiding mechanical saturation.

Finally, a 2D servo linkage kinematic analysis was performed to optimize the horn geometry and linkage ratio before applying the design to the actual aircraft.

Design Workflow

Aerodynamic Analysis
        │
        ▼
CFD / OpenVSP / XFLR5
        │
        ▼
Aircraft Dynamic Model
        │
        ▼
Required Control Authority
        │
        ▼
Control Surface Deflection Range
        │
        ▼
Servo Neutral Calibration
        │
        ▼
2D Linkage Kinematic Analysis
        │
        ▼
Final Aircraft Application

Key Contributions

  • Performed aerodynamic analysis using CFD, OpenVSP, and XFLR5.
  • Estimated aerodynamic coefficients for control surface sizing.
  • Calculated practical control surface deflection limits.
  • Optimized the neutral servo angle for maximum usable authority.
  • Designed servo horn and linkage geometry through 2D kinematic analysis.
  • Applied the optimized control surface mechanism to the final VTOL aircraft.



FCU Mission Workflow

The Flight Control Unit (FCU) autonomously manages the complete mission sequence from takeoff to landing while coordinating fixed-wing flight, multicopter flight, perception, and obstacle avoidance.

Mission Sequence

flowchart TD
    A[Takeoff]
    --> B[Forward Transition]
    --> C[Fixed-Wing Mission]
    --> D[Target Observation]

    D --> E[Target Detection]
    E --> F[Camera Gimbal Control]

    F --> G[Back Transition]
    G --> H[Multicopter Mission]

    H --> I[Obstacle Avoidance]
    I --> J[Wind Disturbance Rejection]
    J --> K[Landing]
Loading

About

KRAC(Korean Robot Aircraft Competition), ROS2, PX4, MAVROS, Vector Field Guidance, and Failsafe Control for Autonomous VTOL Aircraft

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages