Revision 414a3516 src/server/server.cpp
src/server/server.cpp | ||
---|---|---|
27 | 27 |
|
28 | 28 |
#include "server/server.h" |
29 | 29 |
#include "server/middleware_ros.h" |
30 |
#include "server/middleware_rsb.h" |
|
31 | 30 |
#include <boost/algorithm/string.hpp> |
32 | 31 |
#include <string> |
33 | 32 |
|
... | ... | |
60 | 59 |
//start middleware: |
61 | 60 |
if (mw == "ROS"){ |
62 | 61 |
middleware = new MiddlewareROS(scope, controller); |
63 |
}else if (mw == "RSB"){ |
|
64 |
middleware = new MiddlewareRSB(scope, controller); |
|
65 | 62 |
}else{ |
66 |
printf("> ERROR: invalid mw '%s' given. Please use ROS or RSB\n\n",mw.c_str());
|
|
63 |
printf("> ERROR: invalid mw '%s' given. RSB support was dropped. Please use ROS\n\n",mw.c_str());
|
|
67 | 64 |
exit(EXIT_FAILURE); |
68 | 65 |
} |
69 | 66 |
|
Also available in: Unified diff