mirror of
https://gitlab.com/lander-team/lander-cpp.git
synced 2025-07-23 14:41:25 +00:00
added #define for M_PI as well as a few TODO's
This commit is contained in:
@@ -247,7 +247,7 @@ void vehicleDynamics(struct sVars &Vars, int t) {
|
||||
Vars.I22 * Vars.pitchdot * Vars.yawdot) /
|
||||
Vars.I33;
|
||||
|
||||
if (t < 1) {
|
||||
if (t < 1) { // TODO: Initial conditions should be set at sim start
|
||||
Vars.x = 0;
|
||||
Vars.y = 0;
|
||||
|
||||
@@ -298,6 +298,7 @@ void vehicleDynamics(struct sVars &Vars, int t) {
|
||||
// TODO: Maybe we should just have a `Vars` for the last time step and at the
|
||||
// end of each time step make a copy of it
|
||||
|
||||
// TODO: Delete, section not needed
|
||||
// Set "prev" values for next timestep
|
||||
Vars.I11prev = Vars.I11;
|
||||
Vars.I22prev = Vars.I22;
|
||||
|
Reference in New Issue
Block a user