Extract data from bag as variables in CPP
I have a imu bag file and I want to take linear acceleration values xyz in cpp in variables so I could integrate them twice to get position but I am new at ROS and I do not know how ? I hope my question is clear. Thanks in advance.