SmartASS
- class SmartASS
 The Smart A.S.S. module provides aids for vessel pitch control.
- SmartASSInterfaceMode InterfaceMode { get; set; }
 GUI mode; doesn’t do anything except changing SmartASS GUI buttons to a specified mode.
- Game Scenes:
 Flight
- SmartASSAutopilotMode AutopilotMode { get; set; }
 Current autopilot mode.
- Game Scenes:
 Flight
- void Update (Boolean resetPID)
 Update SmartASS position to use new values.
- Parameters:
 resetPID – False most of the time, use true only if it doesn’t work.
- Game Scenes:
 Flight
- Boolean ForceYaw { get; set; }
 Enable yaw control for
SmartASS.SurfaceHeading,SmartASSAutopilotMode.SurfaceProgradeandSmartASSAutopilotMode.SurfaceRetrograde.- Game Scenes:
 Flight
- Boolean ForcePitch { get; set; }
 Enable pitch control for
SmartASS.SurfacePitch,SmartASSAutopilotMode.SurfaceProgradeandSmartASSAutopilotMode.SurfaceRetrograde.- Game Scenes:
 Flight
- Double SurfaceHeading { get; set; }
 Heading; Also called or azimuth, or the direction where you want to go.
- Game Scenes:
 Flight
Note
Works only in
SmartASSAutopilotMode.Surfacemode.
- Double SurfacePitch { get; set; }
 Pitch or inclination; 0 is horizontal and 90 is straight up. Can be negative.
- Game Scenes:
 Flight
Note
Works only in
SmartASSAutopilotMode.Surfacemode.
- Double SurfaceRoll { get; set; }
 Roll; 0 is top side up.
- Game Scenes:
 Flight
Note
Works only in
SmartASSAutopilotMode.Surfacemode.
- Double SurfaceVelYaw { get; set; }
 - Game Scenes:
 Flight
Note
Works only in
SmartASSAutopilotMode.SurfaceProgradeandSmartASSAutopilotMode.SurfaceRetrogrademode.
- Double SurfaceVelPitch { get; set; }
 Pitch or inclination; 0 is horizontal and 90 is straight up. Can be negative.
- Game Scenes:
 Flight
Note
Works only in
SmartASSAutopilotMode.SurfaceProgradeandSmartASSAutopilotMode.SurfaceRetrogrademode.
- Double SurfaceVelRoll { get; set; }
 Roll; 0 is top side up.
- Game Scenes:
 Flight
Note
Works only in
SmartASSAutopilotMode.SurfaceProgradeandSmartASSAutopilotMode.SurfaceRetrogrademode.
- AttitudeReference AdvancedReference { get; set; }
 - Game Scenes:
 Flight
Note
Works only in
SmartASSAutopilotMode.Advancedmode.
- Direction AdvancedDirection { get; set; }
 - Game Scenes:
 Flight
Note
Works only in
SmartASSAutopilotMode.Advancedmode.
- enum SmartASSInterfaceMode
 - Orbital
 
- Surface
 
- Target
 
- Advanced
 
- Automatic
 Internal mode, do not set.
- enum SmartASSAutopilotMode
 - Off
 Switch off Smart A.S.S.
- KillRot
 “Kill” the spacecraft’s rotation (counters rotation/tumbling).
- Node
 Point the vessel to a maneuver node.
- Advanced
 Advanced mode.
- Automatic
 Automatic mode (internal mode, only for getting status).
- Prograde
 ORBIT: Orient to orbital prograde.
- Retrograde
 ORBIT: Orient to orbital retrograde.
- NormalPlus
 ORBIT: Orient to orbital normal (change inclination).
- NormalMinus
 ORBIT: Orient to orbital anti-normal (change inclination).
- RadialPlus
 ORBIT: Orient to radial outward (away from SOI).
- RadialMinus
 ORBIT: Orient to radial inward (towards SOI).
- SurfacePrograde
 SURFACE: Orient in the direction of movement relative to the ground. Useful during lift-off for rockets which don’t have fins or are otherwise instable.
- SurfaceRetrograde
 SURFACE: Orient in the opposite direction of movement relative to the ground. Useful during reentry or aerobraking with an aerodynamically unstable craft.
- HorizontalPlus
 SURFACE: Orient in the direction of horizontal movement relative to the ground.
- HorizontalMinus
 SURFACE: Orient in the opposite direction of horizontal movement relative to the ground.
- Surface
 SURFACE: Orient the vessel in specific direction relative to surface.
- VerticalPlus
 SURFACE: Orient “up”, perpendicular to the surface.
- TargetPlus
 TARGET: Orient towards the target.
- TargetMinus
 TARGET: Orient away from the target.
- RelativePlus
 TARGET: Orient toward your relative velocity. Burning this direction will increase your relative velocity.
- RelativeMinus
 TARGET: Orient away from your relative velocity. Burning this direction will decrease your relative velocity.
- ParallelPlus
 TARGET: Orient parallel to the target’s orientation. If the target is a docking node it orients the ship along the docking axis, pointing away from the node.
- ParallelMinus
 TARGET: Orient antiparallel to the target’s orientation. If the target is a docking node it orients the ship along the docking axis, pointing toward the node.
- enum AttitudeReference
 - Inertial
 World coordinate system.
- Orbit
 forward = prograde, left = normal plus, up = radial plus
- OrbitHorizontal
 forward = surface projection of orbit velocity, up = surface normal
- SurfaceNorth
 forward = north, left = west, up = surface normal
- SurfaceVelocity
 forward = surface frame vessel velocity, up = perpendicular component of surface normal
- Target
 forward = toward target, up = perpendicular component of vessel heading
- RelativeVelocity
 forward = toward relative velocity direction, up = tbd
- TargetOrientation
 forward = direction target is facing, up = target up
- ManeuverNode
 forward = next maneuver node direction, up = tbd
- Sun
 forward = orbit velocity of the parent body orbiting the sun, up = radial plus of that orbit
- SurfaceHorizontal
 forward = surface velocity horizontal component, up = surface normal