public class ProfileDynamics extends Object
Constructor and Description |
---|
ProfileDynamics()
Initializes a new instance.
|
ProfileDynamics(double ascentSpeed,
double pitchUpAcceleration,
double descentSpeed,
double pushOverAcceleration,
double thrustAcceleration,
double thrustDeceleration)
Create a new instance based on the given properties.
|
ProfileDynamics(ProfileDynamics existingInstance)
Initializes a new instance as a copy of an existing instance.
|
Modifier and Type | Method and Description |
---|---|
double |
getAscentSpeed()
Gets the maximum vertical rate of ascent (positive), in meters per second.
|
double |
getDescentSpeed()
Gets the maximum vertical rate of descent (positive),
in meters per second.
|
double |
getPitchUpAcceleration()
Gets the upward acceleration used to begin an ascent maneuver perpendicular
to the direction of motion, in meters per second squared (positive).
|
double |
getPushOverAcceleration()
Gets the downward acceleration used to begin a descent maneuver perpendicular
to the direction of motion, in meters per second squared (positive).
|
double |
getThrustAcceleration()
Gets the maximum achievable acceleration along the velocity vector (positive),
in meters per second squared.
|
double |
getThrustDeceleration()
Gets the maximum achievable deceleration anti-parallel to the velocity vector (positive),
in meters per second squared.
|
void |
setAscentSpeed(double value)
Sets the maximum vertical rate of ascent (positive), in meters per second.
|
void |
setDescentSpeed(double value)
Sets the maximum vertical rate of descent (positive),
in meters per second.
|
void |
setPitchUpAcceleration(double value)
Sets the upward acceleration used to begin an ascent maneuver perpendicular
to the direction of motion, in meters per second squared (positive).
|
void |
setPushOverAcceleration(double value)
Sets the downward acceleration used to begin a descent maneuver perpendicular
to the direction of motion, in meters per second squared (positive).
|
void |
setThrustAcceleration(double value)
Sets the maximum achievable acceleration along the velocity vector (positive),
in meters per second squared.
|
void |
setThrustDeceleration(double value)
Sets the maximum achievable deceleration anti-parallel to the velocity vector (positive),
in meters per second squared.
|
public ProfileDynamics()
public ProfileDynamics(double ascentSpeed, double pitchUpAcceleration, double descentSpeed, double pushOverAcceleration, double thrustAcceleration, double thrustDeceleration)
ascentSpeed
- The maximum vertical rate of ascent (positive), in meters per second.pitchUpAcceleration
- The value for the vertical acceleration used to begin an ascent maneuver
(positive), in meters per second squared.descentSpeed
- The maximum vertical rate of descent (positive), in meters per second.pushOverAcceleration
- The value for the vertical acceleration used to begin a descent maneuver
(positive), in meters per second squared.thrustAcceleration
- The maximum value of acceleration achievable parallel to the velocity vector
of the position (positive), in meters per second squared.thrustDeceleration
- The maximum value of deceleration achievable anti-parallel to the velocity
vector of the position (positive), in meters per second squared.public ProfileDynamics(@Nonnull ProfileDynamics existingInstance)
existingInstance
- The existing instance to copy.ArgumentNullException
- Thrown when existingInstance
is null
.public final double getAscentSpeed()
public final void setAscentSpeed(double value)
public final double getPitchUpAcceleration()
public final void setPitchUpAcceleration(double value)
public final double getDescentSpeed()
public final void setDescentSpeed(double value)
public final double getPushOverAcceleration()
public final void setPushOverAcceleration(double value)
public final double getThrustAcceleration()
public final void setThrustAcceleration(double value)
public final double getThrustDeceleration()
public final void setThrustDeceleration(double value)