Open alezana opened 1 week ago
Dynamic model for Spaceship
:
Position Dynamics: $\frac{dx}{dt} = v_x$ $\frac{dy}{dt} = v_y$
Orientation Dynamics: $\frac{d\psi}{dt} = \dot{\psi}$
Fuel Dynamics: $\frac{dm}{dt} = -CT \cdot F{\text{thrust}}$
Velocity Dynamics: $\frac{dvx}{dt} = \frac{1}{m} \cdot \cos(\delta + \psi) \cdot F{\text{thrust}}$ $\frac{dvy}{dt} = \frac{1}{m} \cdot \sin(\delta + \psi) \cdot F{\text{thrust}}$
Angular Velocity Dynamics: $\frac{d\psi}{dt} = -\frac{l_r}{Iz} \cdot \sin(\delta) \cdot F{\text{thrust}}$ $\frac{d\delta}{dt} = \dot{\delta}$
Where:
@zipping-suger see comment in the other repo, regarding the picture could you add the velocity vectors and underline that they are in body frame?
Sorry the previous formulation is wrong. I forgot the Coriolis term. It should be:
Dynamics:
Where:
Draft of
ex11
based onex09
.For full testing you need to sync with the
dg-commons
spaceship model, you can start with some boilerplate, goal definition, evaluation metrics and so on. Please open a new branchex11
Todos: