when I use the code copy from rosbag tutorials,there some wrong?
when I use the code copy from the tutorial(http://wiki.ros.org/rosbag/Code%20API),but there are some wrong like this:error: expected primary-expression before ‘const’ foreach(rosbag::MessageInstance const m, view); error: ‘foreach’ was not declared in this scope foreach(rosbag::MessageInstance const m, view); I don't know how to correct,I hope someone can help me ,thank you!