Skip to content
This repository was archived by the owner on Oct 14, 2023. It is now read-only.
This repository was archived by the owner on Oct 14, 2023. It is now read-only.

Incorrect Hohmann maneuver when not at pericenter? #740

@astrojuanlu

Description

@astrojuanlu

🐞 Problem

I think there is a potential problem here:

if orbit_i.nu is not 0 * u.deg:
orbit_i = orbit_i.propagate_to_anomaly(0 * u.deg)

return cls((0 * u.s, dv_a), (t_trans, dv_b))

in that the time to get to the pericenter is not being taken into account for the maneuver, and therefore perhaps doing an apply on the initial orbit won't have the intended effect.

💡 Possible solutions

Note I didn't check whether this is an actual bug or not yet

Do not hardcode the initial maneuver to 0 * u.s and use the time to get to the pericenter.

📋 Steps to solve the problem

  • Comment below about what you've started working on.
  • Add, commit, push your changes
  • Submit a pull request and add this in comments - Addresses #<put issue number here>
  • Ask for a review in comments section of pull request
  • Celebrate your contribution to this project 🎉

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions