We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vasanth@vasanthaw:~/catkin_ws$ rosrun bag_tools change_frame_id.py -i /home/vasanth/vijayawada/2018-10-30-08-17-42_0.bag -o /home/vasanth/vijayawada/2018-10-30-08-17-42_0_2.bag -f imu -t /imu/data [INFO] [1540993697.486695]: Processing input bagfile: /home/vasanth/vijayawada/2018-10-30-08-17-42_0.bag [INFO] [1540993697.487441]: Writing to output bagfile: /home/vasanth/vijayawada/2018-10-30-08-17-42_0_2.bag [INFO] [1540993697.488037]: Changing topics: ['/imu/data'] [INFO] [1540993697.488550]: Writing frame_id: imu Traceback (most recent call last): File "/home/vasanth/catkin_ws/src/srv_tools/bag_tools/scripts/change_frame_id.py", line 68, in change_frame_id(args.i,args.o,args.f,args.t) File "/home/vasanth/catkin_ws/src/srv_tools/bag_tools/scripts/change_frame_id.py", line 49, in change_frame_id for topic, msg, t in rosbag.Bag(inbag,'r').read_messages(): File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosbag/bag.py", line 2337, in read_messages yield self.seek_and_read_message_data_record((entry.chunk_pos, entry.offset), raw) File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosbag/bag.py", line 2475, in seek_and_read_message_data_record msg_type = _get_message_type(connection_info) File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosbag/bag.py", line 1571, in _get_message_type message_type = genpy.dynamic.generate_dynamic(info.datatype, info.msg_def)[info.datatype] File "/opt/ros/kinetic/lib/python2.7/dist-packages/genpy/dynamic.py", line 168, in generate_dynamic tmp_file.file.write(full_text.encode()) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 6125: ordinal not in range(128)
The text was updated successfully, but these errors were encountered:
Hello. Could you share the file?
Sorry, something went wrong.
No branches or pull requests
vasanth@vasanthaw:~/catkin_ws$ rosrun bag_tools change_frame_id.py -i /home/vasanth/vijayawada/2018-10-30-08-17-42_0.bag -o /home/vasanth/vijayawada/2018-10-30-08-17-42_0_2.bag -f imu -t /imu/data
[INFO] [1540993697.486695]: Processing input bagfile: /home/vasanth/vijayawada/2018-10-30-08-17-42_0.bag
[INFO] [1540993697.487441]: Writing to output bagfile: /home/vasanth/vijayawada/2018-10-30-08-17-42_0_2.bag
[INFO] [1540993697.488037]: Changing topics: ['/imu/data']
[INFO] [1540993697.488550]: Writing frame_id: imu
Traceback (most recent call last):
File "/home/vasanth/catkin_ws/src/srv_tools/bag_tools/scripts/change_frame_id.py", line 68, in
change_frame_id(args.i,args.o,args.f,args.t)
File "/home/vasanth/catkin_ws/src/srv_tools/bag_tools/scripts/change_frame_id.py", line 49, in change_frame_id
for topic, msg, t in rosbag.Bag(inbag,'r').read_messages():
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosbag/bag.py", line 2337, in read_messages
yield self.seek_and_read_message_data_record((entry.chunk_pos, entry.offset), raw)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosbag/bag.py", line 2475, in seek_and_read_message_data_record
msg_type = _get_message_type(connection_info)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosbag/bag.py", line 1571, in _get_message_type
message_type = genpy.dynamic.generate_dynamic(info.datatype, info.msg_def)[info.datatype]
File "/opt/ros/kinetic/lib/python2.7/dist-packages/genpy/dynamic.py", line 168, in generate_dynamic
tmp_file.file.write(full_text.encode())
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 6125: ordinal not in range(128)
The text was updated successfully, but these errors were encountered: