Revision 414a3516 src/client/client.cpp
| src/client/client.cpp | ||
|---|---|---|
| 27 | 27 |
|
| 28 | 28 |
#include "client/client.h" |
| 29 | 29 |
#include "client/middleware_ros.h" |
| 30 |
#include "client/middleware_rsb.h" |
|
| 31 | 30 |
#include <boost/algorithm/string.hpp> |
| 32 | 31 |
|
| 33 | 32 |
using namespace std; |
| ... | ... | |
| 46 | 45 |
//start middleware: |
| 47 | 46 |
if (mw == "ROS"){
|
| 48 | 47 |
middleware = new MiddlewareROS(scope); |
| 49 |
}else if (mw == "RSB"){
|
|
| 50 |
middleware = new MiddlewareRSB(scope); |
|
| 51 | 48 |
}else{
|
| 52 |
printf("> ERROR: invalid mw '%s' given. Please use ROS or RSB\n\n",mw.c_str());
|
|
| 49 |
printf("> ERROR: invalid mw '%s' given. RSB support was droppd. please use ROS\n\n",mw.c_str());
|
|
| 53 | 50 |
exit(EXIT_FAILURE); |
| 54 | 51 |
} |
| 55 | 52 |
} |
Also available in: Unified diff