recording bag file with joint states; TODO: figure out the relevance of header.seq