Closed zipping-suger closed 4 weeks ago
Attention: Patch coverage is 86.56250%
with 43 lines
in your changes missing coverage. Please review.
Project coverage is 78.37%. Comparing base (
3357f74
) to head (69eeab6
). Report is 1 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@zipping-suger could we make it with the velocities in body frame? It should be costh = cos(x0.psi) sinth = sin(x0.psi) dx = vx costh - vy sinth dy = 0 ???? dm = -C_T thrust dvx = (1 / m) cos(delta) thrust dvy = dvpsi = -(1 / Iz) lr sin(delta) thrust ddelta = ddelta
could you please double check "dy".... not 100% sure
I already push a commit containing this minor things, please double check
Dynamics:
Where:
Added dynamic model for the spaceship with a single thruster at the back that can rotate within defined limits. The new dynamics are defined by the following equations:
dx = vx dy = vy dm = -C_T thrust dvx = (1 / m) cos(delta + psi) thrust dvy = (1 / m) sin(delta + psi) thrust dvpsi = -(1 / Iz) lr sin(delta) thrust ddelta = ddelta
Where:
Added a visualization for spaceship, which is similar to the rocket model.
The dynamic model and visualization can be tested by running test_spaceship.py