Add gravity and thrust force
This commit is contained in:
parent
8f4d61f820
commit
8904c223cb
4 changed files with 67 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue