-
-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathros-noetic-rosbag.patch
25 lines (23 loc) · 1.12 KB
/
ros-noetic-rosbag.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff --git a/tools/rosbag/src/encrypt.cpp b/tools/rosbag/src/encrypt.cpp
index da4ece4c29..b037957fc0 100644
--- a/tools/rosbag/src/encrypt.cpp
+++ b/tools/rosbag/src/encrypt.cpp
@@ -36,7 +36,7 @@
#include <boost/scoped_ptr.hpp>
#include <boost/program_options.hpp>
-#include <boost/progress.hpp>
+#include <boost/timer/progress_display.hpp>
#include <boost/regex.hpp>
#include <ros/ros.h>
@@ -161,9 +161,9 @@ int encrypt(EncryptorOptions const& options)
outbag.setEncryptorPlugin(options.plugin, options.param);
outbag.setCompression(options.compression);
rosbag::View view(inbag);
- boost::scoped_ptr<boost::progress_display> progress;
+ boost::scoped_ptr<boost::timer::progress_display> progress;
if (!options.quiet)
- progress.reset(new boost::progress_display(view.size(), std::cout, "Progress:\n ", " ", " "));
+ progress.reset(new boost::timer::progress_display(view.size(), std::cout, "Progress:\n ", " ", " "));
for (rosbag::View::const_iterator it = view.begin(); it != view.end(); ++it)
{
outbag.write(it->getTopic(), it->getTime(), *it, it->getConnectionHeader());