Loading parsers/sensors/stim_parser.py +13 −1 Changes for parsers/sensors/stim_parser.py: 13 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -178,8 +178,9 @@ class StimParser(object): accl_x, accl_y, accl_z, incl_x, incl_y, incl_z, temp) ''' #print package[:20] delta_values = True if delta_values: stim_package = StimPackage(pack.tov, pack.toa, pack.tot, pack.timestamp, GX3, GX2, GX1, GY3, GY2, GY1, GZ3, GZ2, GZ1, GS, AX3, AX2, AX1, AY3, AY2, AY1, AZ3, AZ2, AZ1, AS, Loading @@ -189,6 +190,17 @@ class StimParser(object): acceleration=False, incremental_velocity=True, incl_acceleration=False, incl_incremental_velocity=True, incl_average=False, g_range='10g') else: stim_package = StimPackage(pack.tov, pack.toa, pack.tot, pack.timestamp, GX3, GX2, GX1, GY3, GY2, GY1, GZ3, GZ2, GZ1, GS, AX3, AX2, AX1, AY3, AY2, AY1, AZ3, AZ2, AZ1, AS, IX3, IX2, IX1, IY3, IY2, IY1, IZ3, IZ2, IZ1, IS, COUNT, LATENCY, CRC, angular_rate=True, incremental_angle=False, acceleration=True, incremental_velocity=False, incl_acceleration=True, incl_incremental_velocity=False, incl_average=False, g_range='10g') return stim_package Loading Loading
parsers/sensors/stim_parser.py +13 −1 Changes for parsers/sensors/stim_parser.py: 13 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -178,8 +178,9 @@ class StimParser(object): accl_x, accl_y, accl_z, incl_x, incl_y, incl_z, temp) ''' #print package[:20] delta_values = True if delta_values: stim_package = StimPackage(pack.tov, pack.toa, pack.tot, pack.timestamp, GX3, GX2, GX1, GY3, GY2, GY1, GZ3, GZ2, GZ1, GS, AX3, AX2, AX1, AY3, AY2, AY1, AZ3, AZ2, AZ1, AS, Loading @@ -189,6 +190,17 @@ class StimParser(object): acceleration=False, incremental_velocity=True, incl_acceleration=False, incl_incremental_velocity=True, incl_average=False, g_range='10g') else: stim_package = StimPackage(pack.tov, pack.toa, pack.tot, pack.timestamp, GX3, GX2, GX1, GY3, GY2, GY1, GZ3, GZ2, GZ1, GS, AX3, AX2, AX1, AY3, AY2, AY1, AZ3, AZ2, AZ1, AS, IX3, IX2, IX1, IY3, IY2, IY1, IZ3, IZ2, IZ1, IS, COUNT, LATENCY, CRC, angular_rate=True, incremental_angle=False, acceleration=True, incremental_velocity=False, incl_acceleration=True, incl_incremental_velocity=False, incl_average=False, g_range='10g') return stim_package Loading