Package org.orekit.tutorials.yaml
Class TutorialSpacecraft
- java.lang.Object
-
- org.orekit.tutorials.yaml.TutorialSpacecraft
-
public class TutorialSpacecraft extends Object
Initial data to initialize the spacecraft state.Data are read from a YAML file.
- Author:
- Bryan Cazabonne
-
-
Constructor Summary
Constructors Constructor Description TutorialSpacecraft()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]
getAntennaOffset()
Get the coordinates of the on-board antenna phase center in spacecraft frame.String
getAttitudeMode()
Get the name of the attitude mode.TutorialEstimatedParameter
getBias()
Get the estimated On-board range bias.TutorialEstimatedParameter
getClockOffset()
Get the estimated On-board clock offset.String
getId()
Get the satellite ID.double
getMass()
Get the spacecraft mass.String
getName()
Get the satellite name.void
setAntennaOffset(double[] antennaOffset)
Set the coordinates of the on-board antenna phase center in spacecraft frame.void
setAttitudeMode(String attitudeMode)
Set the name of the attitude mode.void
setBias(TutorialEstimatedParameter bias)
Set the estimated On-board range bias.void
setClockOffset(TutorialEstimatedParameter clockOffset)
Set the estimated On-board clock offset.void
setId(String id)
Set the satellite ID.void
setMass(double mass)
Set the spacecraft mass.void
setName(String name)
Set the satellite name.
-
-
-
Method Detail
-
getMass
public double getMass()
Get the spacecraft mass.- Returns:
- the spacecraft mass (kg)
-
setMass
public void setMass(double mass)
Set the spacecraft mass.- Parameters:
mass
- spacecraft mass(kg)
-
getName
public String getName()
Get the satellite name.- Returns:
- the satellite name
-
setName
public void setName(String name)
Set the satellite name.- Parameters:
name
- satellite name
-
getId
public String getId()
Get the satellite ID.- Returns:
- the satellite ID
-
setId
public void setId(String id)
Set the satellite ID.- Parameters:
id
- satellite ID
-
getAttitudeMode
public String getAttitudeMode()
Get the name of the attitude mode.- Returns:
- the name of the attitude mode
-
setAttitudeMode
public void setAttitudeMode(String attitudeMode)
Set the name of the attitude mode.- Parameters:
attitudeMode
- name of the attitude mode
-
getAntennaOffset
public double[] getAntennaOffset()
Get the coordinates of the on-board antenna phase center in spacecraft frame.- Returns:
- the coordinates of the on-board antenna phase center in spacecraft frame [X, Y, Z].
-
setAntennaOffset
public void setAntennaOffset(double[] antennaOffset)
Set the coordinates of the on-board antenna phase center in spacecraft frame.- Parameters:
antennaOffset
- coordinates of the on-board antenna phase center in spacecraft frame [X, Y, Z]
-
getClockOffset
public TutorialEstimatedParameter getClockOffset()
Get the estimated On-board clock offset.- Returns:
- the estimated On-board clock offset
-
setClockOffset
public void setClockOffset(TutorialEstimatedParameter clockOffset)
Set the estimated On-board clock offset.- Parameters:
clockOffset
- estimated On-board clock offset
-
getBias
public TutorialEstimatedParameter getBias()
Get the estimated On-board range bias.- Returns:
- the estimated On-board range bias
-
setBias
public void setBias(TutorialEstimatedParameter bias)
Set the estimated On-board range bias.- Parameters:
bias
- estimated On-board range bias
-
-