Revision dff8ce51 src/server/middleware_ros.cpp
| src/server/middleware_ros.cpp | ||
|---|---|---|
| 38 | 38 |
|
| 39 | 39 |
//! constructor |
| 40 | 40 |
MiddlewareROS::MiddlewareROS(string scope, Controller *c) : Middleware(scope, c){
|
| 41 |
|
|
| 41 |
printf("> using ROS middleware\n");
|
|
| 42 | 42 |
|
| 43 | 43 |
//start ros core? |
| 44 | 44 |
if (ros::isInitialized()){
|
| 45 |
//oh another process is doing ros comm, fine, we do not need to call it |
|
| 45 |
//oh another process is doing ros comm, fine, we do not need to call it
|
|
| 46 | 46 |
tick_necessary = false; |
| 47 | 47 |
}else{
|
| 48 | 48 |
//we have to take care of ros |
Also available in: Unified diff