diff --git a/src/control_parser.c b/src/control_parser.c index 2be9621..7db5d9c 100644 --- a/src/control_parser.c +++ b/src/control_parser.c @@ -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, diff --git a/src/control_parser.rl b/src/control_parser.rl index 5f0138f..3db4042 100644 --- a/src/control_parser.rl +++ b/src/control_parser.rl @@ -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,