Fuselage.Tail.BackBulk.Material.AreaForceDensity = (0.2 * BaseWeight) / ( 4.37 * IN * 2.56 * IN) Fuselage.Tail.BackBulk.WeightGroup = 'Fuselage' # miscellaneous Fuselage.Tail.SkinMat = Ultracote.copy() Fuselage.Tail.WeightGroup = 'Fuselage' Fuselage.Tail.StringerMat = AircraftPly.copy() Fuselage.Tail.StringerMat.LinearForceDensity = 0.01 * LBF / IN Fuselage.Tail.Align = 0 # Top of section relative to previous section #------------------------------------------------------------------------------# # Define which section contains the CG of the aircraft (design CG, will be recalculated) Fuselage.XcgSection = Fuselage.PayBay Fuselage.XcgSecFrac = 0.694 # Define the payload shape ##Fuselage.Payload.Face = 'Top' Fuselage.Payload.Axis = ( 1, 0, 0 ) # dechellis: Axis that payload is added along to hit weight based on density and dimensions Fuselage.Payload.Width = 7.25 * IN #changed ACFuselage pretty significantly Fuselage.Payload.Length = 1.625 * IN #changed ACFuselage pretty significantly Fuselage.Payload.Material = Steel.copy() Fuselage.Payload.Weight = 0.0 * LBF Fuselage.Payload.Position = (0.12, 0.5, 0.55 ) # changed ACFuselage (ACPayload class) # Determine which bulkhead should be set by the horizontal tail Fuselage.TailBulk = Fuselage.Tail.BackBulk Fuselage.TailBulk.WeightGroup = 'Fuselage'
# Add FPV Video System Components #Fuselage.PyldBay.AddComponent ( "Camera" , 0.07*LBF, (0.5*IN,0.8*IN,0.8*IN), "Bottom" , (0.867, 0.5, 0.5)) #Fuselage.PyldBay.AddComponent ( "OSDBoard" , 0.11*LBF, (0.3*IN,2.4*IN,0.7*IN), "Bottom" , (0.9375, 0.5, 0.5)) #Fuselage.PyldBay.AddComponent ( "VideoXMit" , 0.14*LBF, (1.1*IN,2.7*IN,1.1*IN), "Back" , (0.5,0.5,0.2)) #Fuselage.PyldBay.AddComponent ( "VideoBatt" , 0.14*LBF, (0.8*IN,2.1*IN,1.2*IN), "Back" , (0.5,0.5,0.4)) # #Fuselage.PyldBay.Camera.WeightGroup = "Video" #Fuselage.PyldBay.OSDBoard.WeightGroup = "Video" #Fuselage.PyldBay.VideoXMit.WeightGroup = "Video" #Fuselage.PyldBay.VideoBatt.WeightGroup = "Video" # # Define which section contains the CG of the aircraft # Fuselage.XcgSection = Fuselage.PyldBay Fuselage.XcgSecFrac = 6.66/12 Fuselage.Payload.Width = 5*IN Fuselage.Payload.Length = 8*IN Fuselage.Payload.Face = 'Bottom' Fuselage.Payload.Material = Steel.copy() Fuselage.Payload.Weight = 25*LBF # # Determine which bulkhead should be set by the horizontal tail # Fuselage.TailBulk = Fuselage.Tail.BackBulk Fuselage.TailBulk.WeightGroup = 'Fuselage' if __name__ == '__main__':
# Add FPV Video System Components #Fuselage.Nose.AddComponent ( "Camera" , 0.07*LBF, (0.5*IN,0.8*IN,0.8*IN), "Bottom" , (0.867, 0.5, 0.5)) #Fuselage.PyldBay.AddComponent ( "OSDBoard" , 0.11*LBF, (0.3*IN,2.4*IN,0.7*IN), "Bottom" , (0.9375, 0.5, 0.5)) #.PyldTaper.AddComponent ( "VideoXMit" , 0.14*LBF, (1.1*IN,2.7*IN,1.1*IN), "Top" , (0.5,0.5,0.2)) #Fuselage.PyldBay.AddComponent ( "VideoBatt" , 0.14*LBF, (0.8*IN,2.1*IN,1.2*IN), "Back" , (0.5,0.5,0.4)) # #Fuselage.Nose.Camera.WeightGroup = "Video" #Fuselage.PyldBay.OSDBoard.WeightGroup = "Video" #Fuselage.PyldTaper.VideoXMit.WeightGroup = "Video" #Fuselage.PyldBay.VideoBatt.WeightGroup = "Video" # # Define which section contains the CG of the aircraft # Fuselage.XcgSection = Fuselage.PyldBay Fuselage.XcgSecFrac = .25 # # Define the Payload Objects with the Drop Cargo on the CG #Fuselage.PyldBay.AddComponent ( "Water1" , 2*LBF, (8.0*IN,5.5*IN,3.25*IN), "Bottom", (0.3,0.5,0.0) ) #Fuselage.PyldBay.AddComponent ( "Water2" , 2*LBF, (8.0*IN,5.5*IN,3.25*IN), "Bottom", (0.9,0.5,0.0) ) #Fuselage.PyldBay.AddComponent ( "RelServo2" , 0.05*LBF, (1.2*IN,0.5*IN,1.2*IN), "Bottom", (0.8,0.5,0.0) ) #Fuselage.PyldBay.AddComponent ( "RelServo1" , 0.05*LBF, (1.2*IN,0.5*IN,1.2*IN), "Bottom", (0.2,0.5,0.0) ) # #Fuselage.PyldBay.Water1.WeightGroup = "Payload" #Fuselage.PyldBay.Water2.WeightGroup = "Payload" #Fuselage.PyldBay.RelServo2.WeightGroup = "Controls" #Fuselage.PyldBay.RelServo1.WeightGroup = "Controls" # No payload for advanced class #Fuselage.Payload = None #Fuselage.Payload.Width = 5*IN
# Add FPV Video System Components #Fuselage.PyldBay.AddComponent ( "Camera" , 0.07*LBF, (0.5*IN,0.8*IN,0.8*IN), "Bottom" , (0.867, 0.5, 0.5)) #Fuselage.PyldBay.AddComponent ( "OSDBoard" , 0.11*LBF, (0.3*IN,2.4*IN,0.7*IN), "Bottom" , (0.9375, 0.5, 0.5)) #Fuselage.PyldBay.AddComponent ( "VideoXMit" , 0.14*LBF, (1.1*IN,2.7*IN,1.1*IN), "Back" , (0.5,0.5,0.2)) #Fuselage.PyldBay.AddComponent ( "VideoBatt" , 0.14*LBF, (0.8*IN,2.1*IN,1.2*IN), "Back" , (0.5,0.5,0.4)) # #Fuselage.PyldBay.Camera.WeightGroup = "Video" #Fuselage.PyldBay.OSDBoard.WeightGroup = "Video" #Fuselage.PyldBay.VideoXMit.WeightGroup = "Video" #Fuselage.PyldBay.VideoBatt.WeightGroup = "Video" # # Define which section contains the CG of the aircraft # Fuselage.XcgSection = Fuselage.PyldBay Fuselage.XcgSecFrac = 0.4327 Fuselage.Payload.Width = 10 * IN Fuselage.Payload.Length = 1 * IN Fuselage.Payload.Face = 'Bottom' Fuselage.Payload.Material = Steel.copy() Fuselage.Payload.Weight = 0 * LBF # # Determine which bulkhead should be set by the horizontal tail # Fuselage.TailBulk = Fuselage.Tail.BackBulk Fuselage.TailBulk.WeightGroup = 'Fuselage' if __name__ == '__main__': import pylab as pyl
(0.9 * IN, 1.4 * IN, 3 * IN), "Front", (0.5, 0.5, 0.5)) #Fuselage.Nose.FuelTank.WeightGroup = "Fuel" Fuselage.Nose.AddComponent("SpeedController", 6 * GRAM * gacc, (0.16 * IN, 1.08 * IN, 0.91 * IN), "Right", (0.7, 0.0, 0.5)) Fuselage.Nose.NoseWheelServo.WeightGroup = "Controls" Fuselage.Nose.ThrottleServo.WeightGroup = "Controls" Fuselage.Nose.Receiver.WeightGroup = "Controls" Fuselage.Nose.MotorBattery.WeightGroup = "Propulsion" Fuselage.Nose.SpeedController.WeightGroup = "Propulsion" # # Define which section contains the CG of the aircraft # Fuselage.XcgSection = Fuselage.PyldBay Fuselage.XcgSecFrac = 5. / 9. # # Define the payload shape # Fuselage.Payload.Width = 5 * IN Fuselage.Payload.Length = 7.5 * IN Fuselage.Payload.Face = 'Bottom' Fuselage.Payload.Material = Steel.copy() Fuselage.Payload.Weight = 1 * LBF # # Determine which bulkhead should be set by the horizontal tail # Fuselage.TailBulk = Fuselage.Tail.BackBulk Fuselage.TailBulk.WeightGroup = 'Fuselage'