Disable sim update
This commit is contained in:
parent
303d950e91
commit
3fb87526a8
@ -397,8 +397,8 @@ _match:
|
||||
gettimeofday(&t->started, NULL);
|
||||
/* fprintf(stderr, "New run\n"); */
|
||||
} else {
|
||||
dgl(t, &t->sim.tm.vehicle, &t->sim.tm.vehicle, ctx->tm->ts - t->sim.tm.ts);
|
||||
ctx->tm->vehicle.w = t->sim.tm.vehicle.w;
|
||||
/* dgl(t, &t->sim.tm.vehicle, &t->sim.tm.vehicle, ctx->tm->ts - t->sim.tm.ts);
|
||||
ctx->tm->vehicle.w = t->sim.tm.vehicle.w;*/
|
||||
/* fprintf(stderr, "time difference [ms]: %i\n", getcurts(t) - ctx->tm->ts); */
|
||||
fprintf(stderr, "Miss predict: dx=%f, dy=%f, ddir=%f, steps=%u\n",
|
||||
t->sim.tm.vehicle.x - t->vehicle.x,
|
||||
|
@ -46,8 +46,8 @@ static timestamp extract_ts(context *ctx, char *fpc) {
|
||||
gettimeofday(&t->started, NULL);
|
||||
/* fprintf(stderr, "New run\n"); */
|
||||
} else {
|
||||
dgl(t, &t->sim.tm.vehicle, &t->sim.tm.vehicle, ctx->tm->ts - t->sim.tm.ts);
|
||||
ctx->tm->vehicle.w = t->sim.tm.vehicle.w;
|
||||
/* dgl(t, &t->sim.tm.vehicle, &t->sim.tm.vehicle, ctx->tm->ts - t->sim.tm.ts);
|
||||
ctx->tm->vehicle.w = t->sim.tm.vehicle.w;*/
|
||||
/* fprintf(stderr, "time difference [ms]: %i\n", getcurts(t) - ctx->tm->ts); */
|
||||
fprintf(stderr, "Miss predict: dx=%f, dy=%f, ddir=%f, steps=%u\n",
|
||||
t->sim.tm.vehicle.x - t->vehicle.x,
|
||||
|
Loading…
Reference in New Issue
Block a user