1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-06-16 15:17:23 +00:00

Fixed build sim on startup

This commit is contained in:
Matthew Robinaugh 2021-10-29 14:44:48 -07:00
parent 7cf8e393d8
commit 97de9f2957
2 changed files with 2 additions and 2 deletions

2
.vscode/tasks.json vendored
View File

@ -2,7 +2,7 @@
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"type": "cppbuild", "type": "process",
"label": "buildSim", "label": "buildSim",
"command": "g++", "command": "g++",
"args": [ "args": [

View File

@ -70,7 +70,7 @@ bool sim(struct Vehicle &State, struct Vehicle &PrevState) {
} }
void burnStartTimeCalc(Vehicle &State) { void burnStartTimeCalc(Vehicle &State) {
double dt = State.stepSize; double dt = State.stepSize/1000.0;
double velocity = State.vz; double velocity = State.vz;
double h = 0; double h = 0;