Ok, for a while now I’ve been trying to come up with a physical model where you input two angles on a rocket motor gimbal and a rocket motor force and double integrate the accelerations over time to get the position and orientation of the rocket. I’ve not been successful.
That’s why I am turning to this forum, because neither I or my physics teacher (i think he just doesn’t care) can create this physical model.
The rocket has a gimballed engine which is defined by two angles and a force. This is the input. The rocket has a position and an orientation. This is the output.
How do i go from two angles and a force to position and orientation over time. I need this to be accurate to the real world. Though for the moment not taking aerodynamics into consideration. But everything else.
please don’t hesitate to respond all input can be helpful
Interesting project. Do you want to include external forces such as gravity? And also account for the mass distribution of the rocket? Without having looked at it with pen and paper I guess you end up with a second order ODE that you need to solve… The tricky part is properbly how the angle of the trust affects the direction, might give it a look in one of the comming days.
how the thrust affects the direction shouldn’t be that hard, right?
Isn’t it just that you start out with (alpha, beta, F) and assume that the force vector is pointing straight up. then you rotate the force vector with 2 rotation matrices with the angles alpha and beta so that you get the force components for the engine.
then just rotate the force components with rotation matrices with the angles of the orientation of the rocket so that you get the global force vectors?