WsfP6DOF_GuidanceComputer¶
- WsfP6DOF_GuidanceComputer inherits WsfGuidanceComputer
Overview¶
WsfP6DOF_GuidanceComputer is derived from WSF_GUIDANCE_COMPUTER and provides a similar set of controls for platforms that use WSF_P6DOF_MOVER movers.
Warning
Be sure to use WSF_P6DOF_GUIDANCE_COMPUTER for platforms that include a WSF_P6DOF_MOVER. Use of a WSF_GUIDANCE_COMPUTER with a WSF_P6DOF_MOVER will not result in proper guidance and control.
General Methods¶
- void SelectPhase(string aPhaseName)¶
Immediately terminates the current phase and initiates the specified phase. The on_exit script block in the current phase is executed, then the on_entry script block is executed in the selected phase.
- bool SetGuidanceDelay(double aValue)¶
- bool SetGuidanceDelay(string aPhaseName, double aValue)¶
Sets the value of guidance_delay (in seconds).
- bool SetMaximumCommandedGees(double aValue)¶
- bool SetMaximumCommandedGees(string aPhaseName, double aValue)¶
Sets the value of maximum_commanded_g (G’s: i.e.: a value of 1.0 is 1 g).
- void StopEngines()¶
This immediately terminates thrust.
Velocity Pursuit Methods¶
- bool SetVelocityPursuitGain(double aValue)¶
- bool SetVelocityPursuitGain(string aPhaseName, double aValue)¶
Sets the value of velocity_pursuit_gain (unitless).
Trajectory Shaping Methods¶
- bool SetGeeBias(double aValue)¶
- bool SetGeeBias(string aPhaseName, double aValue)¶
Sets the value of g_bias (unitless).
- bool SetLateralGeeBias(double aValue)¶
- bool SetLateralGeeBias(string aPhaseName, double aValue)¶
Sets the value of lateral_g_bias (unitless).
- bool SetCommandedAzimuthOffset(double aValue)¶
- bool SetCommandedAzimuthOffset(string aPhaseName, double aValue)¶
Sets the value of commanded_azimuth_offset (degrees).
Aimpoint Methods¶
- bool SetGuidanceTarget(string aValue)¶
- bool SetGuidanceTarget(string aPhaseName, string aValue)¶
Sets the value of guidance_target (“truth”, “perception”, “predicted_intercept”, “default”).
- bool SetAimpointAltitudeOffset(double aValue)¶
- bool SetAimpointAltitudeOffset(string aPhaseName, double aValue)¶
Sets the value of aimpoint_altitude_offset (meters).
- bool SetAimpointAzimuthOffset(double aValue, string aDirection)¶
- bool SetAimpointAzimuthOffset(string aPhaseName, double aValue, string aDirection)¶
Sets the value of aimpoint_azimuth_offset (degrees). aDirection must be “left”, “right” or “either”.
- bool SetAimpointRangeOffset(double aValue)¶
- bool SetAimpointRangeOffset(string aPhaseName, double aValue)¶
Sets the value of aimpoint_range_offset (meters).
- bool SetAimpointEvaluationInterval(double aValue)¶
- bool SetAimpointEvaluationInterval(string aPhaseName, double aValue)¶
Sets the value of aimpoint_evaluation_interval (seconds).
Unsupported Methods¶
The following methods (inherited from WSF_GUIDANCE_COMPUTER) are not supported at this time.
- bool SetAllowRouteFollowing(bool aValue)¶
- bool SetAllowRouteFollowing(string aPhaseName, bool aValue)¶
Sets the value of allow_route_following (true or false).
- bool ClearCommandedAltitude()¶
- bool ClearCommandedAltitude(string aPhaseName)¶
Clears the commanded_altitude.
- bool ClearCommandedSpeed()¶
- bool ClearCommandedSpeed(string aPhaseName)¶
Clears the commanded_speed or commanded_mach.
- bool ClearCommandedFlightPathAngle()¶
- bool ClearCommandedFlightPathAngle(string aPhaseName)¶
Clears the commanded_flight_path_angle.
- bool ClearCommandedThrottle()¶
- bool ClearCommandedThrottle(string aPhaseName)¶
Clears the commanded_throttle (resumes the default throttle control in the mover).
- bool SetCommandedAltitude(double aValue)¶
- bool SetCommandedAltitude(string aPhaseName, double aValue)¶
Sets the value of commanded_altitude (meters above mean sea level).
- bool SetCommandedAltitudeAGL(double aValue)¶
- bool SetCommandedAltitudeAGL(string aPhaseName, double aValue)¶
Sets the value of commanded_altitude (meters above ground level).
- bool SetMaximumAscentRate(double aValue)¶
- bool SetMaximumAscentRate(string aPhaseName, double aValue)¶
Sets the value of maximum_ascent_rate (meters/second).
- bool SetMaximumDescentRate(double aValue)¶
- bool SetMaximumDescentRate(string aPhaseName, double aValue)¶
Sets the value of maximum_descent_rate (meters/second).
- bool SetMaximumPitchAngle(double aValue)¶
- bool SetMaximumPitchAngle(string aPhaseName, double aValue)¶
Sets the value of maximum_pitch_angle (degrees).
- bool SetPitchChangeGain(double aValue)¶
- bool SetPitchChangeGain(string aPhaseName, double aValue)¶
Sets the value of pitch_change_gain (unitless).
- bool SetCommandedFlightPathAngle(double aValue)¶
- bool SetCommandedFlightPathAngle(string aPhaseName, double aValue)¶
Sets the value of commanded_flight_path_angle (degrees).
- bool SetCommandedMach(double aValue)¶
- bool SetCommandedMach(string aPhaseName, double aValue)¶
Sets the value of commanded_mach (unitless Mach number).
- bool SetCommandedSpeed(double aValue)¶
- bool SetCommandedSpeed(string aPhaseName, double aValue)¶
Sets the value of commanded_speed (meters/second).
- bool SetCommandedThrottle(double aValue)¶
- bool SetCommandedThrottle(string aPhaseName, double aValue)¶
Sets the value of commanded_throttle in the range [0..1].