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

Lambert solver #29

Open
tmamedzadeh opened this issue May 19, 2019 · 4 comments
Open

Lambert solver #29

tmamedzadeh opened this issue May 19, 2019 · 4 comments

Comments

@tmamedzadeh
Copy link

Is there a Lambert problem solver in SatelliteToolbox.jl? I used poliastro in Python and wondering whether there is such function in Julia?

@helgee
Copy link
Member

helgee commented May 19, 2019

I have a Julia port of poliastro's solver here: https://github.com/helgee/icatt-2016/blob/master/julia/lambert.jl#L27

For now you can just copy-paste it into your code.

@tmamedzadeh
Copy link
Author

@helgee

Is it Izzo method?

I have the ODE of motion, how can I use your function?

function ode_solve(dy,y,p,t)
  r=(y[1]^2 + y[2]^2 + y[3]^2)

  dy[1] = y[4]
  dy[2] = y[5]
  dy[3] = y[6]
  dy[4] = -y[1]/r
  dy[5] = -y[2]/r
  dy[6] = -y[3]/r
end

@ronisbr
Copy link
Member

ronisbr commented May 20, 2019

Hi @Tarlan0001 ,

Unfortunately, we do not have one yet. But it is on my list of priorities to add one (or an interface to one) so that we can do this within SatelliteToolbox.jl.

@cadojo
Copy link

cadojo commented Nov 24, 2020

Just in case this is useful to someone, I have a Julia Lambert solver here which uses bijection (as described in Algorithm 58 of Vallado's Fundamentals of Astrodynamics and Applications). The code needs to be cleaned up, but I'd be happy to make changes to this algorithm, or implement one of the others if it would be useful for SatelliteToolbox

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

No branches or pull requests

4 participants