ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Separating the declarations (rosbag::Bag gesture_bag vs. rosbag::Bag read_bag) for read vs. write bags and moving the read bag declaration to the read function solved this problem. Interestingly, moving the declaration for the write bag to the write function did not work. That one had to remain in the class prototype. Any explanation as to why either of these is true would be helpful.

Paul.