Finder for sub-satellite point eclipse related events#26
Finder for sub-satellite point eclipse related events#26dmitrywalther wants to merge 2 commits intoCS-SI:developfrom
Conversation
| final Vector3D psat = s.getPVCoordinates(occulting.getBodyFrame()).getPosition(); | ||
| Vector3D psat = null; | ||
| if (subSatellitePoint) { | ||
| Frame inertialFrame = FramesFactory.getEME2000(); |
There was a problem hiding this comment.
The inertial frame should be extracted from SpacecraftState rather than hard-coded to EME2000.
Otherwise, the s.getPVCoordinates().getPosition() in the following line will be inconsistent.
|
Hi, thanks for the PR. |
|
Could also it be possible to add some unit test for the feature? |
|
Interesting feature and good first cut at the implementation. I think this makes the eclipse class too complex, it would be better as a separate class. Extracting an abstract super class would make sense since there is significant overlap in the code. Another option would be to use a The |
One method withSubSatellitePoint() was added instead withUmbraSSP and withPenumbraSSP methods. Unit test was added for the method withSubSatellitePoint().
No description provided.