- Jun. 24, 2025 - Initial release of ESO-NMPC controller
Nonlinear model predictive control(NMPC) with Extended State Observer(ESO) for robust quadrotor control, built on PX4 autopilot framework.
src/
├─ px4ctrl/ # ESO-NMPC controller core
├─ sim_rc/ # Remote control simulator
│ └─ sim_rc_node # Gazebo RC simulation node
├─ utils/ # Dependency packages
│ ├─ cmake_utils/ # CMake configuration utilities
│ ├─ quadrotor_msgs/ # Custom quadrotor messages
│ └─ uav_utils/ # UAV operation utilities
└─ launch/ # ROS launch files
└─ run_ctrl.launch # Controller launch configuration
takeoff.sh # Automatic takeoff script
takeland.sh # Automatic takeland script
# ROS Noetic (recommended)
sudo apt install ros-noetic-desktop-full
# Required ROS packages
sudo apt install ros-noetic-mavros ros-noetic-gazebo-rosmkdir -p mpc_ws/src
cd mpc_ws/src
git clone https://github.com/yourrepo/eso_mpc_controller.git
cd ..
catkin_make
source devel/setup.bashroslaunch px4ctrl run_ctrl.launchController will initialize and wait for RC input.
rosrun sim_rc sim_rc_nodeProvides fake RC input for Gazebo simulation environment.
- Execute takeoff script:
./takeoff.sh- When controller reports channel issue:
- Set RC channel 5 = 2000 (bottom position)
- Set RC channel 6 = 2000 (bottom position)
- After "ready for re-takeoff" prompt:
./takeoff.shQuadrotor will execute autonomous takeoff sequence.





