artemisEarthTimeSeries is different for me. Perhaps it works differently in my time zone (Mexico City).
In my case the TimeSeries is from 1 April to 10 April. Please see the screenshot.
Version 14.3
Am I doing something wrong? Orion doesn't seem to go around the Moon. The Moon is gone when Orion starts turning.
Artemis isn't being aimed "at the Moon". Its being "aimed" at where the Moon will be when it gets there. The Moon passes the spacecraft just as the trajectory is slowing down. Its the combination of the free trajectory and the nudge given by the Moon that brings them back. The mechanics are real, though non-intuitive.
I see the issue you are showing but cannot reproduce it. Did you edit the code in the notebook? If so, what changes did you make? I would recommend deleting all of the Manipulate outputs, quitting your kernel and then evaluating everything again. Just in case the SaveDefinitions in the existing Manipulates are re-instating stale (saved) data or something.
Thank you Jeffrey. I didn´t make any changes to the notebook. I will quit the kernel and try again.
Its not just quitting the kernel. Delete all the outputs first, then quit the kernel, then re-evaluate. Also, what version of WL are you using?
I'm using 14.3 as well. When constructing the TimeSeries, the result may look different because TimeSeries has the default option TimeZone :> $TimeZone. But the results should still be the same underlying date concept.
TimeZone :> $TimeZone
The dates fed in via datesEarth are in TimeZone 0 with the "TDB" TimeSystem option.
datesEarth
I restarted Mathematica and opened the original notebook again, and did Cell->Dekete All Output. An still the Moon is very far from Orion. Please see screenshot.
I think it is now right. I think I can make the slider longer in order to be able to move Orion more precisely.
Thank you Jeffrey. Great model!!
This improves the control of Orion (ImageSize->900 for the Slider)
{d, datesEarth[[1]], datesEarth[[-1]], Quantity[1, "Minutes"],
ImageSize -> 900},
Ricardo, note this other Community post by Jeff, where he slowed down the part of the orbit around the Moon: https://community.wolfram.com/groups/-/m/t/3674006 . I think it's then easier to understand the dynamics of that part, and you can compare your results.
Lovely work!
-- you have earned Featured Contributor Badge Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!