Modeling GUI
Modeling GUI
Purpose:
This GUI accepts user input of physical measurements from their quadcopter
vehicle. A primary purpose of this interface is to calculate the moment of inertia matrix for
the vehicle based on specific dimensions and measurements of the quadcopter. The
interface also accepts the performance coefficients and other parameters obtained through
motor testing. Once all of the fields are populated, the interface saves a MATLAB
structure that contains all the parameters required to run the simulation. A structure is a
data type that gives us a way to combine multiple pieces of information into a single
variable that can easily be passed around the MATLAB environment. The modeling GUI can
be seen below in Figure 1.
Modeling GUI
Description:
1. Unit System toggle: toggle units between SI and English based on the measurement
tools being utilized. IMPORTANT: Whether inputs are in grams/centimeters or
ounces/inches, the program will convert everything into the SI unit system
(kilograms/meters) for use in the simulation.
2. Inputs for Motor, ESC, HUB, and Arm dimensions (either in g/cm or oz./in.).
o Motors:
dm: distance from the center of mass (COM) of the motor to the COM
of the quad vehicle (COM is assumed to coincide with geometric
center!)
h: height of the motor above the arm (not including prop axel)
r: radius of a motor
o ESCs:
m: mass of 1 ESC
a: width of an ESC
b: length of an ESC
ds: distance from the COM of the ESC to the COM the quad vehicle
o Central HUB:
o Arms:
Modeling GUI
Modeling GUI
Graphics:
Motors
ESCs
Central HUB
Modeling GUI
Arms
Modeling GUI