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

Added ForceTorqueUnit slice definition

parent 22c1fa93
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,7 @@ include(${ArmarXCore_CMAKE_DIR}/ArmarXProject.cmake) ...@@ -13,6 +13,7 @@ include(${ArmarXCore_CMAKE_DIR}/ArmarXProject.cmake)
armarx_project("RobotAPI") armarx_project("RobotAPI")
add_subdirectory(source) add_subdirectory(source)
add_subdirectory(interface)
install_project() install_project()
###
### CMakeLists.txt file for ArmarX Interfaces
###
set(ROBOTAPI_INTERFACE_DEPEND ArmarXCore)
# generate the interface library
armarx_interfaces_generate_library(RobotAPI 0.1.0 0 ${ROBOTAPI_INTERFACE_DEPEND})
/*
* 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 ArmarX::Core
* @author Manfred Kroehnert (manfred dot kroehnert at kit dot edu)
* @copyright 2013 Manfred Kroehnert
* @license http://www.gnu.org/licenses/gpl.txt
* GNU General Public License
*/
#ifndef _ARMARX_ROBOTAPI_UNITS_FORCETORQUE_SLICE_
#define _ARMARX_ROBOTAPI_UNITS_FORCETORQUE_SLICE_
#include <units/UnitInterface.ice>
#include <core/UserException.ice>
#include <core/BasicTypes.ice>
#include <observers/VariantBase.ice>
#include <robotstate/LinkedPoseBase.ice>
module robotapi
{
dictionary<string, armarx::LinkedPoseBase> LinkedPoseMap;
sequence<string> StringMap;
interface ForceTorqueUnitInterface extends armarx::SensorActorUnitInterface
{
void setOffset(LinkedPoseMap forceTorqueOffsets);
void setForceTorqueToNull(StringMap sensorNames);
};
interface ForceTorqueUnitListener
{
void reportForceTorqueRaw(LinkedPoseMap forceTorques);
void reportForceTorqueRelativeToOffset(LinkedPoseMap forceTorques);
};
};
#endif
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