Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trajectory planning before launch (or spacecraft design) #4068

Open
eggrobin opened this issue Aug 16, 2024 · 3 comments
Open

Trajectory planning before launch (or spacecraft design) #4068

eggrobin opened this issue Aug 16, 2024 · 3 comments

Comments

@eggrobin
Copy link
Member

From #4050 and many earlier discussions; it would be nice to be able to do something like the GRAIL launch.

  • We would want a flight-plan-like entity whose manœuvres are instantaneous changes in velocity, since we have no vessel. A lot of the logic remains, including anomalous manœuvres. However, since time can run either way, the anomalous manœuvres can be in the past or in the future.
  • The initial or final state should be tunable using some widget ; osculating Keplerian elements are probably more useful coordinates here than anything cartesian.
  • The initial state should be shown in some form that is suitable as a desired final state for MechJeb ascent guidance. Eventually we should talk to @lamont-granquist about supplying that via an API.
@lamont-granquist
Copy link
Contributor

What MJ needs is probably just BCI Cartesian r and v coordinates and time of a possible initial point to hit on the desired orbit. Initially PVG would be quite sloppy since it doesn't understand J^2 so it would attach to the osculating orbit at some other point. But that could drive fixing PVG to know about J^2 (I've got a paper which works it all out, and it's not terribly difficult on the scale of PVG things that could get implemented). PVG could also learn about the Earth-Sun-Moon system and start to be a little bit of an n-body integrator if that ever gets required (a bit harder, but in LEO where the perturbations are small that should be feasible).

PVG doesn't currently know how to deal with a terminal coast to hit a point on an orbit, but that's a known problem and the solution to that would also drive solving the orbital finite burn problem. It would be able to handle positive or negative time terminal coasts to attach before or after the selected point.

@2007200700
Copy link

Nothing prevents me from playing Principia except for the humanoid and animal representations and similar images that are integrated due to a personal ethical case. Could you please create a version of Principia where these elements are removed from the source code and the game ? (I use Android.) Thank you in advance... Please remove even the eyes drawn on the heads of the robots. If you accept, let me know please.

@pleroy
Copy link
Member

pleroy commented Sep 25, 2024

What the hell is this?

  1. In what universe is it acceptable GitHub etiquette to post a random comment on a random issue? Can you read the title? It says "Trajectory planning before launch". What does your request have to do with this?
  2. We don't run on Android, we don't have humanoids, animals, or robots. If you had read about 20% of our README.md file you would have noticed that you are at the wrong place. I think you are after another piece of software also called Principia here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants