中文说明:本程序用MATLAB绘制三维四旋翼模型,每个机臂的端点上的长条粗略的表示其相对升力大小。通过设定好的参数,根据公式更新四旋翼飞行器的姿态和位置,绘制姿态和高度曲线图,通过PD控制器控制四旋翼飞行器的姿态和高度,主要用于四旋翼飞行器姿态更新和PID控制仿真,打开quadcopter.m点击运行即可
English Description:
This program uses MATLAB to draw a three-dimensional four rotor model, and the strip on the end of each arm roughly represents its relative lift. Through the set parameters, the attitude and position of the quadrotor aircraft are updated according to the formula, and the attitude and height curves are drawn. The attitude and height of the quadrotor aircraft are controlled by the PD controller. It is mainly used for the attitude update and PID control simulation of the quadrotor aircraft. Open quadcutter. M and click Run