org.orekit.attitudes
Class TargetPointing

java.lang.Object
  extended by org.orekit.attitudes.AbstractAttitudeLaw
      extended by org.orekit.attitudes.TargetPointing
All Implemented Interfaces:
Serializable, AttitudeLaw, AttitudeProvider

public class TargetPointing
extends AbstractAttitudeLaw

This class handles target pointing attitude provider.

This class represents the attitude provider where the satellite z axis is pointing to a ground point target.

The target position is defined in a body frame specified by the user. It is important to make sure this frame is consistent.

The object TargetPointing is guaranteed to be immutable.

Author:
Véronique Pommier-Maurussane
See Also:
GroundPointing, Serialized Form

Constructor Summary
TargetPointing(Frame bodyFrame, Vector3D target)
          Creates a new instance from body frame and target expressed in cartesian coordinates.
TargetPointing(GeodeticPoint targetGeo, BodyShape shape)
          Creates a new instance from body shape and target expressed in geodetic coordinates.
 
Method Summary
 Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
          Compute the attitude corresponding to an orbital state.
 
Methods inherited from class org.orekit.attitudes.AbstractAttitudeLaw
getAttitude, getSpinDerivativesComputation, setSpinDerivativesComputation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TargetPointing

public TargetPointing(Frame bodyFrame,
                      Vector3D target)
Creates a new instance from body frame and target expressed in cartesian coordinates.

Parameters:
bodyFrame - body frame.
target - target position in body frame

TargetPointing

public TargetPointing(GeodeticPoint targetGeo,
                      BodyShape shape)
Creates a new instance from body shape and target expressed in geodetic coordinates.

Parameters:
targetGeo - target defined as a geodetic point in body shape frame
shape - body shape
Method Detail

getAttitude

public Attitude getAttitude(PVCoordinatesProvider pvProv,
                            AbsoluteDate date,
                            Frame frame)
                     throws OrekitException
Compute the attitude corresponding to an orbital state.

Parameters:
pvProv - local position-velocity provider around current date
date - current date
frame - reference frame from which attitude is computed
Returns:
attitude attitude on the specified date and position-velocity state
Throws:
OrekitException - if attitude cannot be computed


Copyright © 2017 CNES. All Rights Reserved.