I’m trying to use the CR3BP package and I think I’m getting the hang of it but I’m still struggling on some aspects. For now I’ve only reused one of the example indicated by Bryan: PropagationInCR3BP.
From what I understood position and velocity have to be normalized with the characteristic length of the system and so has to be the time (using the orbital period of m2). I’m trying to propagate for 1 day and it seems that my propagation is working fine given the states it prints as it goes but oddly the final state has not changed from the initial state. And I don’t manage to find what I’m missing… Attached the code I’ve been using.
The good thing is that I have a starting point and already now where I should be after a day of propagation. In J2000 I start here:
- Date: 2026/08/11 21:49:57
- Position [m]: [-282554776, 117058409, 32929943]
- Velocity [m/s]: [-694, 43, 80]
And should end somewhere around this point:
- Date: 2026/08/12 21:49:57
- Position [m]: [-329114574, 116239320, 38725331]
- Velocity [m/s]: [-394, -52, 56]
Thank you very much for your help!
Sandbox.java (9.3 KB)