You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new column beside rename topic to rename frame_id.
Use Case
Due to the incorrect configuration at the upstream or two messages with the same frame_id having a conflict, we can rename the frame_id after the rosbag recording.
Proposed Implementation
I can easily rename the frame_id by instantiating the message according to its datatype, say sensor_msgs/PointCloud2, and then writing back to the bag after changing the frame_id.
Such implementation, however, needs to check the datatype and use a switch-case flow structure. Is there a way to rename the frame_id without considering the specific datatype of the message?
The text was updated successfully, but these errors were encountered:
Description
Add a new column beside
rename topic
to rename frame_id.Use Case
Due to the incorrect configuration at the upstream or two messages with the same frame_id having a conflict, we can rename the frame_id after the rosbag recording.
Proposed Implementation
I can easily rename the frame_id by instantiating the message according to its datatype, say sensor_msgs/PointCloud2, and then writing back to the bag after changing the frame_id.
Such implementation, however, needs to check the datatype and use a switch-case flow structure. Is there a way to rename the frame_id without considering the specific datatype of the message?
The text was updated successfully, but these errors were encountered: