diff --git a/src/auv_nav/convert.py b/src/auv_nav/convert.py index 2685447d..05e9674f 100644 --- a/src/auv_nav/convert.py +++ b/src/auv_nav/convert.py @@ -129,6 +129,9 @@ def acfr_to_oplab(args): Console.info("Vehicle pose provided! Converting it to DR CSV...") vpp = AcfrVehiclePoseParser(args.vehicle_pose) dr = vpp.get_dead_reckoning() + + print("Found", len(dr), "dr entries") + csv_filename = "auv_acfr_centre.csv" if (csv_filepath / csv_filename).exists() and not force_overwite: diff --git a/src/auv_nav/parsers/acfr_vehicle_pose.py b/src/auv_nav/parsers/acfr_vehicle_pose.py index abce6f4a..49938bd0 100644 --- a/src/auv_nav/parsers/acfr_vehicle_pose.py +++ b/src/auv_nav/parsers/acfr_vehicle_pose.py @@ -169,6 +169,7 @@ def parse(self, filename): self.origin_longitude = float(line.split()[1]) if i > 45: self._entries.append(AcfrVehiclePose(line)) + print("Parsed", len(self._entries), "entries") def __call__(self, index): return self._entries[index] @@ -192,7 +193,7 @@ def get_dead_reckoning(self): dr.x_velocity = 0 dr.y_velocity = 0 dr.z_velocity = 0 - + dr_list.append(dr) return dr_list