Skip to content

Clayell/TargetInterceptPlanner

 
 

Repository files navigation

This is still a WIP, use this guide to learn how to install this, and DM @clayel on discord for any issues you encounter (or make an issue in https://github.com/Clayell/TargetInterceptPlanner/issues)

Target Intercept Planner (TIP)

Provides a GUI for planning a transfer to a satellite (natural, artificial, or a specified orbit) from the surface of the celestial body (planet, moon, gas giant, star, black hole, etc.) on which you are currently on.

Launch into the parking orbit it gives you at the time it gives you, wait the time it gives you for the prograde-only maneuver to arrive, and then execute the maneuver with the delta-V it gives you. If all goes well, you should be headed directly on a collision course to your target.

Why use this over simply launching into the same LAN and Inclination as your target? This mod allows you to launch from any position on the planet, instead of being limited to a certain area on the planet. This also means that the trajectories this mod gives may not be in the same inclination of your target (because this might not be possible to achieve from your launch location), so a plane change maneuver may be needed at the intersection point when rendezvousing with a vessel.

Usecases include:

  • Launching to the Moon from any position on Earth
  • Launching to the Mun or Minmus from any position on Kerbin
  • Rendezvousing with a vessel in any orbit (a plane change may be needed at the intersection point)
  • Launching into an orbit given by a contract, even if no vessel is present there

Parameters that you can change:

  • The expected flight time to the satellite (the time from leaving your circular parking orbit to reaching the closest approach to your target)
  • The altitude of your parking orbit
  • The target launch azimuth or inclination for the launch window, with a default of 90° azimuth (directly due east)
  • The latitude and longitude of your position
    • This can be given automatically by the position of your launch site or vessel, or by manually typing in a latitude and longitude
  • The exact parameters of the target orbit (in manual target orbit mode)

Info given back to help you plan:

  • The time of the next launch window to your parking orbit at the target azimuth/inclination
    • Also shows the nth launch window from the current time, where n is user-defined (max of 100, but this can be changed in settings)
  • The delta-V of the maneuver from your parking orbit to an intersection with the target
  • The time spent in your parking orbit while waiting for the maneuver
    • Can also show the phasing angle from the current position
  • Map view visualizations of the parking orbit, transfer orbit, and phasing angle (and target orbit if using a manual target)

Keep in mind that this mod assumes you can instantly get into the parking orbit from your current launch position. If you want more accurate results (especially for launching into a vessel's orbit), launch into the next window's inclination a few minutes before the window itself, with the time depending on how long it takes you to reach orbit. You may want to use mechjeb to launch into the requested inclination, to account for the initial velocity caused by the rotation of the planet.

Note: As the orbital period of the target approaches the sidereal day length of the planet, the time to the next window approaches infinity. It is impossible to find a launch window for a target in a synchronous orbit using this tool. Sorry!

Forum Thread: N/A

Source Code: https://github.com/Clayell/TargetInterceptPlanner

Wiki: https://github.com/Clayell/TargetInterceptPlanner/wiki

Mod Relationships (using CKAN is highly recommended)

Required:

  • ClickThroughBlocker
  • Harmony2
  • ToolbarController

Recommended:

  • Kerbal Alarm Clock (the "Add Alarm" button uses KAC by default if installed)

Compatible with:

  • Principia (although not perfectly accurate due to n-body stuff)
  • Any celestial body from any solar system (including satellites of moons, and technically even from the Surface of the Sun/Kerbol?)

Authors

  • RCrockford (author of original Lunar Transfer Planner)
  • Clayel (current author of Target Intercept Planner)

Special Thanks To

License

The code is subject to the MIT license. (see LICENSE.md)

About

Provides a GUI for planning a transfer to a satellite from the surface of the celestial body on which you are currently on.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • C# 99.9%
  • Shell 0.1%