Skip to content
Snippets Groups Projects
Commit 2f3326fd authored by Mirko Wächter's avatar Mirko Wächter
Browse files

Added HandUnitObserver

parent 2d7a689c
No related branches found
No related tags found
No related merge requests found
......@@ -20,3 +20,5 @@ add_subdirectory(PlatformUnitSimulation)
add_subdirectory(PlatformUnitObserver)
add_subdirectory(RobotStateComponent)
add_subdirectory(RobotStateObserver)
add_subdirectory(HandUnitObserver)
\ No newline at end of file
armarx_component_set_name("HandUnitObserverApp")
#find_package(MyLib QUIET)
#armarx_build_if(MyLib_FOUND "MyLib not available")
#
# all include_directories must be guarded by if(Xyz_FOUND)
# for multiple libraries write: if(X_FOUND AND Y_FOUND)....
#if(MyLib_FOUND)
# include_directories(${MyLib_INCLUDE_DIRS})
#endif()
set(COMPONENT_LIBS RobotAPIUnits ArmarXInterfaces ArmarXCore)
set(EXE_SOURCE main.cpp)
armarx_add_component_executable("${EXE_SOURCE}")
/*
* This file is part of ArmarX.
*
* ArmarX is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* ArmarX is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package RobotAPI::application::HandUnitObserver
* @author Mirko Waechter ( mirko dot waechter at kit dot edu )
* @date 2014
* @copyright http://www.gnu.org/licenses/gpl.txt
* GNU General Public License
*/
#ifndef _ARMARX_APPLICATION_RobotAPI_HandUnitObserver_H
#define _ARMARX_APPLICATION_RobotAPI_HandUnitObserver_H
#include <RobotAPI/units/HandUnitObserver.h>
#include <Core/core/application/Application.h>
namespace armarx
{
/**
* @class HandUnitObserverApp
* @brief A brief description
*
* Detailed Description
*/
class HandUnitObserverApp :
virtual public armarx::Application
{
/**
* @see armarx::Application::setup()
*/
void setup(const ManagedIceObjectRegistryInterfacePtr& registry,
Ice::PropertiesPtr properties)
{
registry->addObject( Component::create<HandUnitObserver>(properties) );
}
};
}
#endif
/*
* This file is part of ArmarX.
*
* ArmarX is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* ArmarX is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package RobotAPI::application::HandUnitObserver
* @author Mirko Waechter ( mirko dot waechter at kit dot edu )
* @date 2014
* @copyright http://www.gnu.org/licenses/gpl.txt
* GNU General Public License
*/
#include "HandUnitObserverApp.h"
#include <Core/core/logging/Logging.h>
int main(int argc, char* argv[])
{
armarx::ApplicationPtr app = armarx::Application::createInstance < armarx::HandUnitObserverApp > ();
app->setName("HandUnitObserver");
return app->main(argc, argv);
}
......@@ -48,7 +48,7 @@ namespace armarx
virtual public HandUnitListener
{
public:
HandUnitObserver();
HandUnitObserver(){}
//void setTopicName(std::string topicName);
......
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