Skip to content
Snippets Groups Projects
Commit 0375c385 authored by Luc Maisonobe's avatar Luc Maisonobe
Browse files

Added access to transforms at Rugged API level.

parent 6f44b586
No related branches found
No related tags found
No related merge requests found
...@@ -645,6 +645,36 @@ public class Rugged { ...@@ -645,6 +645,36 @@ public class Rugged {
} }
/** Get transform from spacecraft to inertial frame.
* @param date date of the transform
* @return transform from spacecraft to inertial frame
* @exception RuggedException if spacecraft position or attitude cannot be computed at date
*/
public Transform getScToInertial(final AbsoluteDate date)
throws RuggedException {
return scToBody.getScToInertial(date);
}
/** Get transform from inertial frame to observed body frame.
* @param date date of the transform
* @return transform from inertial frame to observed body frame
* @exception RuggedException if frames cannot be computed at date
*/
public Transform getInertialToBody(final AbsoluteDate date)
throws RuggedException {
return scToBody.getInertialToBody(date);
}
/** Get transform from observed body frame to inertial frame.
* @param date date of the transform
* @return transform from observed body frame to inertial frame
* @exception RuggedException if frames cannot be computed at date
*/
public Transform getBodyToInertial(final AbsoluteDate date)
throws RuggedException {
return scToBody.getBodyToInertial(date);
}
/** Get a sensor. /** Get a sensor.
* @param sensorName sensor name * @param sensorName sensor name
* @return selected sensor * @return selected sensor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment