when i split to rosbag file,it gives error as given below : i am using this command for splitting that rosbag file : rosbag filter all_2018-09-17-17-45-03#0.bag output.bag "t.to_sec() >= 1537199107.20 and t.to_sec() <= 1537199120.21"

asked 2019-08-05 03:45:38 -0600

Traceback (most recent call last): File "/opt/ros/kinetic/bin/rosbag", line 35, in <module> rosbag.rosbagmain() File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosbag/rosbag_main.py", line 896, in rosbagmain cmdscmd File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosbag/rosbag_main.py", line 352, in filter_cmd outbag.write(topic, msg, t) File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosbag/bag.py", line 391, in write msg.serialize(self._buffer) File "/tmp/genpy_gk0mwx/tmpWKcdKV.py", line 402, in serialize except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) File "/opt/ros/kinetic/lib/python2.7/dist-packages/genpy/message.py", line 336, in _check_types raise SerializationError(str(exc)) genpy.message.SerializationError: <class 'struct.error'="">: ''i' format requires -2147483648 <= number <= 2147483647' when writing 'header: seq: 60

edit retag flag offensive close merge delete