CyberGloveInterface.ice
Go to the documentation of this file.
1
/*
2
* This file is part of ArmarX.
3
*
4
* Copyright (C) 2012-2016, High Performance Humanoid Technologies (H2T), Karlsruhe Institute of Technology (KIT), all rights reserved.
5
*
6
* ArmarX is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License version 2 as
8
* published by the Free Software Foundation.
9
*
10
* ArmarX is distributed in the hope that it will be useful, but
11
* WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*
18
* @package mmmCapture
19
* @author Julia Starke <julia dot starke at kit dot edu>
20
* @date 2018
21
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
22
* GNU General Public License
23
*/
24
25
#ifndef _ARMARX_MMMCAPTURE_CYBER_GLOVE_INTERFACE_SLICE_
26
#define _ARMARX_MMMCAPTURE_CYBER_GLOVE_INTERFACE_SLICE_
27
28
module
armarx
29
{
30
struct
CyberGloveValues
31
{
32
string
name
;
33
string
time
;
34
int
thumbCMC
;
35
int
thumbMCP
;
36
int
thumbIP
;
37
int
thumbAbd
;
38
int
indexMCP
;
39
int
indexPIP
;
40
int
indexDIP
;
41
int
middleMCP
;
42
int
middlePIP
;
43
int
middleDIP
;
44
int
middleAbd
;
45
int
ringMCP
;
46
int
ringPIP
;
47
int
ringDIP
;
48
int
ringAbd
;
49
int
littleMCP
;
50
int
littlePIP
;
51
int
littleDIP
;
52
int
littleAbd
;
53
int
palmArch
;
54
int
wristFlex
;
55
int
wristAbd
;
56
};
57
58
interface
CyberGloveListenerInterface
59
{
60
void
reportGloveValues(
CyberGloveValues
gloveValues);
61
/*void reportMotorValues(string name, float position1, float pwm1, float position2, float pwm2);*/
62
};
63
64
interface
CyberGloveInterface
65
{
66
string
getTopicName();
67
};
68
};
69
70
#endif
armarx::CyberGloveValues::middleMCP
int middleMCP
Definition:
CyberGloveInterface.ice:41
armarx::CyberGloveValues::name
string name
Definition:
CyberGloveInterface.ice:32
armarx::CyberGloveValues::wristFlex
int wristFlex
Definition:
CyberGloveInterface.ice:54
armarx::CyberGloveValues::wristAbd
int wristAbd
Definition:
CyberGloveInterface.ice:55
armarx::CyberGloveValues::time
string time
Definition:
CyberGloveInterface.ice:33
armarx::CyberGloveInterface
Definition:
CyberGloveInterface.ice:64
armarx::CyberGloveValues::thumbAbd
int thumbAbd
Definition:
CyberGloveInterface.ice:37
armarx::CyberGloveValues::littleMCP
int littleMCP
Definition:
CyberGloveInterface.ice:49
armarx::CyberGloveValues::indexDIP
int indexDIP
Definition:
CyberGloveInterface.ice:40
armarx::CyberGloveListenerInterface
Definition:
CyberGloveInterface.ice:58
armarx::CyberGloveValues::middleAbd
int middleAbd
Definition:
CyberGloveInterface.ice:44
armarx::CyberGloveValues::thumbIP
int thumbIP
Definition:
CyberGloveInterface.ice:36
armarx::CyberGloveValues::indexPIP
int indexPIP
Definition:
CyberGloveInterface.ice:39
armarx::CyberGloveValues
Definition:
CyberGloveInterface.ice:30
armarx::CyberGloveValues::middlePIP
int middlePIP
Definition:
CyberGloveInterface.ice:42
armarx::CyberGloveValues::ringPIP
int ringPIP
Definition:
CyberGloveInterface.ice:46
armarx::CyberGloveValues::ringAbd
int ringAbd
Definition:
CyberGloveInterface.ice:48
armarx::CyberGloveValues::thumbMCP
int thumbMCP
Definition:
CyberGloveInterface.ice:35
armarx::CyberGloveValues::ringDIP
int ringDIP
Definition:
CyberGloveInterface.ice:47
armarx::CyberGloveValues::littleDIP
int littleDIP
Definition:
CyberGloveInterface.ice:51
armarx::CyberGloveValues::indexMCP
int indexMCP
Definition:
CyberGloveInterface.ice:38
armarx::CyberGloveValues::palmArch
int palmArch
Definition:
CyberGloveInterface.ice:53
armarx::CyberGloveValues::thumbCMC
int thumbCMC
Definition:
CyberGloveInterface.ice:34
armarx::CyberGloveValues::littlePIP
int littlePIP
Definition:
CyberGloveInterface.ice:50
armarx::CyberGloveValues::littleAbd
int littleAbd
Definition:
CyberGloveInterface.ice:52
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:28
armarx::CyberGloveValues::middleDIP
int middleDIP
Definition:
CyberGloveInterface.ice:43
armarx::CyberGloveValues::ringMCP
int ringMCP
Definition:
CyberGloveInterface.ice:45
RobotAPI
drivers
CyberGloveUnit
CyberGloveInterface.ice
Generated on Sat Oct 12 2024 09:14:07 for armarx_documentation by
1.8.17