Traceback (most recent call last):


 "<stdin>", line 1, in <module>
TypeError: generate_and_write_rsa_keypair() missing 1 required positional argument: 'bits'

Traceback (most recent call last):


 "rename_imu.py", line 4, in <module>

for topic, msg, t, conn_header in rosbag.Bag('2019-05-24-09-53-28-high-density.bag').read_messages(return_connection_header=True):
TypeError: read_messages() got an unexpected keyword argument 'return_connection_header'
