PlotFlightType: Plot the input trajectory according to the types of flight

Description Usage Arguments Value Examples

Description

Plot the input trajectory according to the types of flight

Usage

1

Arguments

x

x-position from data

y

y-position from data

z

z-position from data

FlightPerformance

requires flighttype information from FlightPerformance

Value

3D scatterplot of flight types from the input trajectory

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
utils::data(trajectory)
trajectory = trajectory
bird = BirdMorphParam(BMass = 0.7710, WSpan = 0.98, WArea = 0.119, C_db = 0.1)
FSComponents=FlightSpeedComponents(t=trajectory[,4],
                   x=trajectory[,1], y=trajectory[,2], z=trajectory[,3])
Tairspeed = TrueAirSpeed1(FSComponents)
FPerformance = FlightPerformance(bird,FSComponents, Tairspeed,
                   C_l = 0.5, C_t = 0.1)

PlotFlightType(x=trajectory[,1], y=trajectory[,2], z=trajectory[,3], FPerformance)

Josephine-Tetteh/FlightSim-updates documentation built on May 9, 2019, 3:26 a.m.