# Create a path Topic

Hello,

I have a file that contains set of (timestamps + position + quaternion). Now i want to create( add) a topic in a bag( bag is already created) to display this path. Do you have any idea how to do that? I'm new in ROS.

If I understood well, you have a rosbag with some topics, and want to add to that rosbag file a new topic, yes?
I think the best way is to play your rosbag, lets say rosbag1.bag, then publish the new topic that you want, and create a new rosbag2.bag that includes the topic you want.