ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
This is because the rosbag
constructor tries to Read
the bag by default.
try rosbag::Bag bag(filename, rosbag::bagmode::Write)
(or rosbag::bagmode::Append
)
2 | No.2 Revision |
This is because the rosbag
constructor tries to Read
the bag by default.
try rosbag::Bag bag(filename, rosbag::bagmode::Write)
(or rosbag::bagmode::Append
)
It works for me on Windows 10 fine, including exactly as we wrote it above with no mode, once log.bag
exists in the directory.
3 | No.3 Revision |
This is because the
constructor tries to rosbagrosbag::BagRead
the bag by default.
try rosbag::Bag bag(filename, rosbag::bagmode::Write)
(or rosbag::bagmode::Append
)
It works for me on Windows 10 fine, including exactly as we wrote it above with no mode, once log.bag
exists in the directory.