Hello everyone, i would like to implement a pointing to the moon in order to be able to scan it. The scanning would be so that if we have a rectangular field of view on earth i would like the moon to pass though this field of view in a linear movement along the accross track axis of my sensor. I was trying to see if some of orekit pointings would be useful to use them directly or combine them. Has someone some ideas for that ?
What I do for this is using a custom attitudeprovider class similar to CelestialBodyPointed class
where I can select the phasingCel based on the relative position/velocity of my spacecraft and the moon.
With that I adjust the yaw angle to have the Y axis of my field of view pointing in the velocity direction of the moon wrt to my spacecraft at any time.
Then it would be just to select a specific epoch, get the attitude from the state and use it a constant attitude for a new propagator. Then you will have the moon entering in your field of view at such epoch so you will be able to scanning it.
Probably there are many better ways to do that but at least this one works :D.
Hopefully it helps.