Skip to content
Snippets Groups Projects
Commit 97ca8505 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Olivier Stasse
Browse files

Enable real-time logs

parent aadf42c6
No related branches found
No related tags found
No related merge requests found
...@@ -19,11 +19,18 @@ ...@@ -19,11 +19,18 @@
#include <boost/thread/thread.hpp> #include <boost/thread/thread.hpp>
#include <boost/thread/condition.hpp> #include <boost/thread/condition.hpp>
#include <iostream>
#define ENABLE_RT_LOG
#include <dynamic-graph/real-time-logger.h>
#include <dynamic_graph_bridge/sot_loader.hh> #include <dynamic_graph_bridge/sot_loader.hh>
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
dgADD_OSTREAM_TO_RTLOG (std::cerr);
ros::init(argc, argv, "sot_ros_encapsulator"); ros::init(argc, argv, "sot_ros_encapsulator");
SotLoader aSotLoader; SotLoader aSotLoader;
if (aSotLoader.parseOptions(argc,argv)<0) if (aSotLoader.parseOptions(argc,argv)<0)
......
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