Skip to content
Snippets Groups Projects
Commit 211b393a authored by Noëlie Ramuzat's avatar Noëlie Ramuzat
Browse files

[SotLoader] Remove useless boost::condition_variable cond

Remove useless condition variable which was never used (no call to wait()  function) and leads to errors when used with PAL packages.
parent 11aec957
No related branches found
No related tags found
No related merge requests found
......@@ -16,10 +16,6 @@
// POSIX.1-2001
#include <dlfcn.h>
#include <boost/thread/condition.hpp>
boost::condition_variable cond;
using namespace std;
using namespace dynamicgraph::sot;
namespace po = boost::program_options;
......@@ -98,7 +94,6 @@ void workThreadLoader(SotLoader *aSotLoader) {
rate.sleep();
}
dataToLog.save("/tmp/geometric_simu");
cond.notify_all();
ros::waitForShutdown();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment