This commit is contained in:
2015-05-25 16:04:58 +02:00
parent 96ca9d0d8a
commit a3125d0e90
42 changed files with 2094 additions and 1440 deletions
@@ -24,10 +24,6 @@ namespace interface {
class Object {
public:
virtual ~Object() {}
template<class T> T* castPtr() {
return dynamic_cast<T*>(this);
}
};
+1 -1
View File
@@ -113,7 +113,7 @@ int main(int argc, char **argv) {
// Create and register hos-core-service
CoreServiceImpl hosCoreService(rosPublicNodeHandle, rosPrivateNodeHandle);
service_registration_pt reg = nullptr;
bundleContext_registerService(context, (char*)CoreService::SERVICE_NAME, static_cast<CoreService*>(&hosCoreService), nullptr, &reg);
bundleContext_registerService(context, (char*)CoreService::SERVICE_NAME, &hosCoreService, nullptr, &reg);
ROS_INFO("HOS core service registered");