alfonsogonzalez / AWP

Astrodynamics with Python book, software, and videos. Spacecraft trajectory and attitude modeling and simulation
275 stars 67 forks source link

Pinpoint Landing #41

Open brunopinto900 opened 1 year ago

brunopinto900 commented 1 year ago

Hello,

Me and my colleagues want to implement several algorithms to land a spacecraft on the ground, GFOLD is one of the solutions. Is this possible with the current state of this repo?

Thank you.

rslippert commented 4 months ago

? Did Alfonso ever responded to this ? I would say; No, the CR3BP.py code does not have mass or the ability to thrust. It looks like this code assumes zero mass. But it should be easy to modify.

You would need to add mass like Alfonso did with Spacecraft.py For thrust you need to add acceleration terms into states 3,4,5 of the of diffy_q() function (I think) Something like this: state_dot[ 3 ] = 2 vy + omega_x + accel[0] state_dot[ 4 ] = -2 vx + omega_y + accel[1] state_dot[ 5 ] = omega_z + accel[2]

rslippert commented 3 months ago

BTW I will be releasing Gateway24 software includes Spacecraft mass,fuel and attitude. I believe what is needed is a 14 state, 6DOF spacecraft simulation with Orion like controls. Not that Alfonso's AWP software does not include a lot of useful capabilities.