Add gravity and thrust force

This commit is contained in:
Alex Selimov 2026-11-01 23:38:25 -05:00
parent 8f4d61f820
commit 8904c223cb
4 changed files with 67 additions and 3 deletions

View file

@ -10,7 +10,7 @@ struct QuadCopter {
double drag_coeff;
};
enum PropSpinDir { CW, CCW };
enum PropSpinDir { CW = 1, CCW = -1 };
struct Propeller {
struct Vec3 x_cg2p_b;