Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced bag.isOpen() by checking bag filename #1

Open
wants to merge 2 commits into
base: avidbots-master
Choose a base branch
from

Conversation

WeilongYE
Copy link
Collaborator

There is no bag::isOpen interface in ros kinetic version of rosbag. Replaced the isOpen in rosbag_snapshot with checking the bag filename to make rosbag_snapshot compatible with ros kinetic. The open and close API of bag file are paired with assign and empty the filename of the bag file, please refer to source file here

@pbelanger-avid
Copy link

Do you think there would be value on making this change conditionally compiled based on ROS version and submitting upstream?

@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>rosbag_snapshot</name>
<version>1.0.3</version>
<version>1.1.0</version>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd recommend updating the patch version instead of minor so that we have an easier time incorporating upstream updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants