The generated bagfiles should be stored in this folder
A helpful tool in ROS development is the creation of bagfiles with help of rosbag
To generate a bagfile from the active simulation, run the command
rosbag record -a
All topics being published will be recorded in the bagfile. It is possible to select specific topics to be saved with the syntax
rosbag record -O subset /topic1 /topic2
To get more information about a rosbag, use the command
rosbag info <filename>
More details in how to use rosbags here