public class StandardTransitionProfile extends RouteProfile
Dynamics
(get
/ set
).
For aircraft, this assumes steady flight and constant pitch rates. The aircraft then pitches up or down
based on the acceleration specified in the Dynamics
(get
/ set
) to a constant flight path angle.
It then accelerates along the incline as necessary to satisfy the initial and final speed.
Constructor and Description |
---|
StandardTransitionProfile()
Create a new instance.
|
StandardTransitionProfile(ProfileDynamics dynamics,
ProfileSpeed targetSpeed,
double initialHeight,
double initialHeightRate,
double finalHeight,
double finalHeightRate,
TerrainProvider heightReference)
Create a new instance based on the given parameters to completely define the incline.
|
StandardTransitionProfile(ProfileDynamics dynamics,
ProfileSpeed targetSpeed,
TerrainProvider heightReference)
Create a new instance based on the given platform properties.
|
Modifier and Type | Method and Description |
---|---|
ConfigurableProfile |
createConfigurableProfile(SurfaceSegment surfacePath)
Create a profile based on the given settings that the
RoutePropagator can
use to configure this profile in relation to all other profiles along the route. |
boolean |
getAllowModificationOfFinalHeight()
|
boolean |
getAllowModificationOfInitialHeight()
|
ProfileSpeed |
getCruiseSpeed()
Gets the speed to use as the target speed at which to traverse along the path.
|
ProfileDynamics |
getDynamics()
Gets the set of parameters specifying the achievable accelerations during the profile.
|
double |
getFinalHeight()
Gets the final height of the incline with respect to the surface path, in meters.
|
double |
getFinalHeightRate()
Gets the final vertical velocity, in meters per second.
|
ProfileSpeed |
getFinalSpeed()
Gets the final speed at the end of the profile.
|
TerrainProvider |
getHeightReferenceSurface()
Gets the reference surface above which the height is defined.
|
double |
getInitialHeight()
Gets the initial height of the incline with respect to the surface path, in meters.
|
double |
getInitialHeightRate()
Gets the initial vertical velocity, in meters per second.
|
ProfileSpeed |
getInitialSpeed()
Gets the initial speed at the beginning of the profile.
|
boolean |
getUseDirectTransition()
|
void |
setAllowModificationOfFinalHeight(boolean value)
|
void |
setAllowModificationOfInitialHeight(boolean value)
|
void |
setCruiseSpeed(ProfileSpeed value)
Sets the speed to use as the target speed at which to traverse along the path.
|
void |
setDynamics(ProfileDynamics value)
Sets the set of parameters specifying the achievable accelerations during the profile.
|
void |
setFinalHeight(double value)
Sets the final height of the incline with respect to the surface path, in meters.
|
void |
setFinalHeightRate(double value)
Sets the final vertical velocity, in meters per second.
|
void |
setFinalSpeed(ProfileSpeed value)
Sets the final speed at the end of the profile.
|
void |
setHeightReferenceSurface(TerrainProvider value)
Sets the reference surface above which the height is defined.
|
void |
setInitialHeight(double value)
Sets the initial height of the incline with respect to the surface path, in meters.
|
void |
setInitialHeightRate(double value)
Sets the initial vertical velocity, in meters per second.
|
void |
setInitialSpeed(ProfileSpeed value)
Sets the initial speed at the beginning of the profile.
|
void |
setUseDirectTransition(boolean value)
|
public StandardTransitionProfile()
public StandardTransitionProfile(ProfileDynamics dynamics, ProfileSpeed targetSpeed, TerrainProvider heightReference)
dynamics
- The dynamical properties of the platform.targetSpeed
- The target speed at which to traverse this profile.heightReference
- The reference above which the height of this profile is defined.public StandardTransitionProfile(ProfileDynamics dynamics, ProfileSpeed targetSpeed, double initialHeight, double initialHeightRate, double finalHeight, double finalHeightRate, TerrainProvider heightReference)
dynamics
- The dynamical properties of the position.targetSpeed
- The speed at which to traverse the profile.initialHeight
- The fixed initial height of the incline with respect to the surface, in meters.initialHeightRate
- The initial rate of climb (or descent), in meters per second.finalHeight
- The fixed final height of the incline with respect to the surface, in meters.finalHeightRate
- The final rate of climb (or descent), in meters per second.heightReference
- The reference surface above which to define the incline.public final double getInitialHeight()
public final void setInitialHeight(double value)
public final double getFinalHeight()
public final void setFinalHeight(double value)
public final double getInitialHeightRate()
public final void setInitialHeightRate(double value)
public final double getFinalHeightRate()
public final void setFinalHeightRate(double value)
public final boolean getAllowModificationOfInitialHeight()
public final void setAllowModificationOfInitialHeight(boolean value)
public final boolean getAllowModificationOfFinalHeight()
public final void setAllowModificationOfFinalHeight(boolean value)
public final boolean getUseDirectTransition()
public final void setUseDirectTransition(boolean value)
public final TerrainProvider getHeightReferenceSurface()
public final void setHeightReferenceSurface(TerrainProvider value)
public final ProfileDynamics getDynamics()
public final void setDynamics(ProfileDynamics value)
public final ProfileSpeed getInitialSpeed()
public final void setInitialSpeed(ProfileSpeed value)
public final ProfileSpeed getFinalSpeed()
public final void setFinalSpeed(ProfileSpeed value)
public final ProfileSpeed getCruiseSpeed()
public final void setCruiseSpeed(ProfileSpeed value)
public ConfigurableProfile createConfigurableProfile(SurfaceSegment surfacePath)
RoutePropagator
can
use to configure this profile in relation to all other profiles along the route.createConfigurableProfile
in class RouteProfile
surfacePath
- The surface path over which the profile is defined.RoutePropagator
to
configure the route.