adding rosbag api to mindwave code