User Manual 4.0 Attitude ephemeris : Différence entre versions

De Wiki
Aller à : navigation, rechercher
m (Admin a déplacé la page Attitude ephemeris vers User Manual 4.0 Attitude ephemeris sans laisser de redirection)
 
(4 révisions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
 
+
__NOTOC__
 
+
 
== Introduction ==
 
== Introduction ==
 
=== Scope ===
 
=== Scope ===
Ligne 8 : Ligne 7 :
 
The ephemeris objects are available in the package fr.cnes.sirius.patrius.attitudes.
 
The ephemeris objects are available in the package fr.cnes.sirius.patrius.attitudes.
  
|=(% colspan="3" %)Library|=(% colspan="6" %)Javadoc
+
{| class="wikitable"
|(% colspan="3" %)Patrius|(% colspan="6" %)[{{CurrentPathJavaDoc}}/fr/cnes/sirius/patrius/attitudes/package-summary.html Package fr.cnes.sirius.patrius.attitudes]
+
|-
 +
! scope="col"| Library
 +
! scope="col"| Javadoc
 +
|-
 +
|Patrius
 +
|[{{JavaDoc4.0}}/fr/cnes/sirius/patrius/attitudes/package-summary.html Package fr.cnes.sirius.patrius.attitudes]
 +
|}
  
 
=== Links ===
 
=== Links ===
Ligne 20 : Ligne 25 :
 
The attitude ephemeris conception is described hereafter :
 
The attitude ephemeris conception is described hereafter :
  
[[File:ephemerisAttitude.bmp|center]]
+
[[File:ephemerisAttitude.png|center]]
  
 
Legend :
 
Legend :
Ligne 58 : Ligne 63 :
 
==== Variable step ephemeris generation ====
 
==== Variable step ephemeris generation ====
  
{{code language="java"}}
+
<syntaxhighlight lang="java">
 
final AbsoluteDate date0 = AbsoluteDate.J2000_EPOCH;
 
final AbsoluteDate date0 = AbsoluteDate.J2000_EPOCH;
 
final AbsoluteDate dateF = date0.shiftedBy(86400);
 
final AbsoluteDate dateF = date0.shiftedBy(86400);
Ligne 71 : Ligne 76 :
 
                 stepMin, stepMax, angMax, AbstractAttitudeEphemerisGenerator.START_TRANSITIONS);
 
                 stepMin, stepMax, angMax, AbstractAttitudeEphemerisGenerator.START_TRANSITIONS);
 
final Set<Attitude> ephemeris = generator.generateEphemeris(interval, frame);
 
final Set<Attitude> ephemeris = generator.generateEphemeris(interval, frame);
 +
</syntaxhighlight>
  
 
== Contents ==
 
== Contents ==
Ligne 77 : Ligne 83 :
  
 
=== Classes ===
 
=== Classes ===
|=(% colspan="3" %)Class|=(% colspan="6" %)Summary|=(% colspan="1" %)Javadoc
+
{| class="wikitable"
|(% colspan="3" %)'''AbstractAttitudeEphemerisGenerator'''|(% colspan="6" %)Abstract class containing the methods to generate attitude ephemeris from an attitude laws sequence.|[{{CurrentPathJavaDoc}}/fr/cnes/sirius/patrius/attitudes/AbstractAttitudeEphemerisGenerator.html ...]
+
|-
|(% colspan="3" %)'''FixedStepAttitudeEphemerisGenerator'''|(% colspan="6" %)Class computing attitude ephemeris from an attitude laws sequence, using a fixed time step.|[{{CurrentPathJavaDoc}}/fr/cnes/sirius/patrius/attitudes/FixedStepAttitudeEphemerisGenerator.html ...]
+
! scope="col"| Class
|(% colspan="3" %)'''VariableStepAttitudeEphemerisGenerator'''|(% colspan="6" %)Class computing attitude ephemeris from an attitude laws sequence, using a variable time step.|[{{CurrentPathJavaDoc}}/fr/cnes/sirius/patrius/attitudes/VariableStepAttitudeEphemerisGenerator.html ...]
+
! scope="col"| Summary
 +
! scope="col"| Javadoc
 +
|-
 +
|'''AbstractAttitudeEphemerisGenerator'''
 +
|Abstract class containing the methods to generate attitude ephemeris from an attitude laws sequence.
 +
|[{{JavaDoc4.0}}/fr/cnes/sirius/patrius/attitudes/AbstractAttitudeEphemerisGenerator.html ...]
 +
|-
 +
|'''FixedStepAttitudeEphemerisGenerator'''
 +
|Class computing attitude ephemeris from an attitude laws sequence, using a fixed time step.
 +
|[{{JavaDoc4.0}}/fr/cnes/sirius/patrius/attitudes/FixedStepAttitudeEphemerisGenerator.html ...]
 +
|-
 +
|'''VariableStepAttitudeEphemerisGenerator'''
 +
|Class computing attitude ephemeris from an attitude laws sequence, using a variable time step.
 +
|[{{JavaDoc4.0}}/fr/cnes/sirius/patrius/attitudes/VariableStepAttitudeEphemerisGenerator.html ...]
 +
|}
 +
 
 +
 
 +
[[Category:User_Manual_4.0_Attitude]]

Version actuelle en date du 21 février 2018 à 13:56

Introduction

Scope

The purpose is to extend the attitude package with classes and methods to compute and process attitude ephemeris.

Javadoc

The ephemeris objects are available in the package fr.cnes.sirius.patrius.attitudes.

Library Javadoc
Patrius Package fr.cnes.sirius.patrius.attitudes

Links

Orekit attitudes : Orekit Attitudes architecture description

Useful Documents

None as of now.

Package Overview

The attitude ephemeris conception is described hereafter :

EphemerisAttitude.png

Legend :

  • green : new objects
  • grey : modified existing objects
  • blue : existing objects

Features Description

Generation of attitude ephemeris

Attitude ephemeris are generated from a sequence of attitude laws using a fixed time step; one or more options can be added when computing ephemeris:

  • the time interval of generation can be smaller than the attitude laws sequence time interval (but it must be contained in it);
  • attitude can be computed when there is a transition between attitude laws in the sequence: the user can choose to compute one value (the attitude of the law starting at the transition point), or two values (the attitude of the law starting and that of the law ending at the transition point);
  • the time step can be variable: in this case, the user must choose a minimum and maximum time step, and a threshold value for the angular distance. The time step is then computed for each ephemeris; the angular distance between two consecutive ephemeris is calculated: when is bigger than the threshold value, the time step is reduced using an iterative algorithm.

Getting Started

Here are given code sample for fixed and variable step ephemeris generation.

Fixed step ephemeris generation

final AbsoluteDate date0 = AbsoluteDate.J2000_EPOCH;
final AbsoluteDate dateF = date0.shiftedBy(86400);
final AbsoluteDateInterval interval = new AbsoluteDateInterval(IntervalEndpointType.OPEN, date0,
dateF, IntervalEndpointType.OPEN);
 
AttitudeLegsSequence sequence = new AttitudeLegsSequence(orbit);
double fixedStep = 10;
FixedStepAttitudeEphemerisGenerator generator = new FixedStepAttitudeEphemerisGenerator(sequence, fixedStep);
final Set<Attitude> ephemeris = generator.generateEphemeris(interval, FramesFactory.getGCRF());

Variable step ephemeris generation

final AbsoluteDate date0 = AbsoluteDate.J2000_EPOCH;
final AbsoluteDate dateF = date0.shiftedBy(86400);
final AbsoluteDateInterval interval = new AbsoluteDateInterval(IntervalEndpointType.OPEN, date0,
                dateF, IntervalEndpointType.OPEN);
 
AttitudeLegsSequence sequence = new AttitudeLegsSequence(orbit);
final double stepMin = 1;
final double stepMax = 10;
final double angMax = 0.15;
VariableStepAttitudeEphemerisGenerator generator = new VariableStepAttitudeEphemerisGenerator(sequence, 
                stepMin, stepMax, angMax, AbstractAttitudeEphemerisGenerator.START_TRANSITIONS);
final Set<Attitude> ephemeris = generator.generateEphemeris(interval, frame);

Contents

Interfaces

None as of now.

Classes

Class Summary Javadoc
AbstractAttitudeEphemerisGenerator Abstract class containing the methods to generate attitude ephemeris from an attitude laws sequence. ...
FixedStepAttitudeEphemerisGenerator Class computing attitude ephemeris from an attitude laws sequence, using a fixed time step. ...
VariableStepAttitudeEphemerisGenerator Class computing attitude ephemeris from an attitude laws sequence, using a variable time step. ...