summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 6da1cb4..cde65f5 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -249,13 +249,13 @@ while (scanf("%s", line)!=EOF) {
case INSPVAS:
pvaCallback(msg, mu, qbw);
- if (seenutm && seencov && seenpva)
- mu.unicsv();
break;
case RAWIMUS:
dt = update_dt(msg.stamp, &t_old);
imuCallback(msg, mu, qbw, dt);
+ if (seenutm && seencov && seenpva)
+ mu.unicsv();
break;
case INSCOVS: