Skip to content

Commit

Permalink
ros2GH-21 Add missing init() and shutdown() in record
Browse files Browse the repository at this point in the history
  • Loading branch information
botteroa-si committed Sep 14, 2018
1 parent 2cf2e63 commit 40c9114
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ rosbag2_transport_record_topics(PyObject * Py_UNUSED(self), PyObject * args)
Py_DECREF(iterator);

rosbag2_transport::Rosbag2Transport transport;
transport.init();
transport.record("test.bag", topic_vector);
transport.shutdown();

Py_RETURN_NONE;
}
Expand Down

0 comments on commit 40c9114

Please sign in to comment.