topic_tools feed missing covariance
I have a bag file with missing information in one of the topics. I would like to feed missing covariance values to imu topic.
orientation:
x: -0.01318359375
y: -0.0069580078125
z: 0.885437011719
w: 0.464538574219
orientation_covariance: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
I've tried to use topic_tools transform to feed in missing information
rosrun topic_tools transform /imu_data/orientation_covariance /imu_filtered std_msgs/Float64[9] '[1, 1, 1, 1, 1, 1, 1, 1, 1
]'
but I receive error like this:
ValueError: topic parameter 'data_class' is not initialized
Is it possible to feed missing data somehow? Thanks!