ParameterTypes.h
Go to the documentation of this file.
1 /* ParameterTypes.h - Parameter Extraction type definitions header file */
2 
3 /*
4 * Software License Agreement (BSD License)
5 *
6 * Copyright (c) 2011, Yaskawa America, Inc.
7 * All rights reserved.
8 *
9 * Redistribution and use in binary form, with or without modification,
10 * is permitted provided that the following conditions are met:
11 *
12 * * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.
15 * * Neither the name of the Yaskawa America, Inc., nor the names
16 * of its contributors may be used to endorse or promote products derived
17 * from this software without specific prior written permission.
18 *
19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
23 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 * POSSIBILITY OF SUCH DAMAGE.
30 */
31 
32 #ifndef _INC_MOTOMANPARAMETER_TYPES_H
33 #define _INC_MOTOMANPARAMETER_TYPES_H
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39 typedef struct
40 {
41  float PtoR[MAX_PULSE_AXES]; //Array to store PULSE TO RADIAN conversion factors for each axes
42 } PULSE_TO_RAD;
43 
44 typedef struct
45 {
46  float PtoM[MAX_PULSE_AXES]; //Array to store PULSE TO METER conversion factors for each axes
48 
49 typedef enum
50 {
54 } AXIS_TYPE;
55 
56 typedef struct
57 {
58  AXIS_TYPE type[MAX_PULSE_AXES]; //Array to store whether axis is rotational or linear
60 
61 typedef struct
62 {
63  BOOL bValid; //TRUE if ulSourceAxis != 0
64  INT32 ulSourceAxis;
68 
69 typedef struct
70 {
71  FB_AXIS_CORRECTION correction[MAX_PULSE_AXES];
73 
74 typedef struct
75 {
76  UINT32 qtyOfOutFiles;
80 
81 typedef struct
82 {
85 
86 typedef struct
87 {
88  UINT32 maxIncrement[MAX_PULSE_AXES];
90 
91 typedef struct
92 {
93  int ctrlGrp; //Robot control group
94  int IpCycleInMilliseconds; //Interpolation Cycle in milliseconds
95  MAX_INCREMENT_INFO info; //Maximum increment per interpolation cycle
96 } MAX_INC_PIPC;
97 
98 typedef struct
99 {
100  INT32 maxLimit[MAX_PULSE_AXES];
101  INT32 minLimit[MAX_PULSE_AXES];
103 
104 typedef struct
105 {
106  INT32 maxLimit[MAX_PULSE_AXES];
108 
109 typedef struct
110 {
112  ULONG cioAddressForAxis[MAX_PULSE_AXES][2];
114 
115 typedef struct
116 {
117  float theta;
118  float d;
119  float a;
120  float alpha;
121 } DH_LINK;
122 
123 typedef struct
124 {
125  DH_LINK link[MAX_PULSE_AXES];
126 } DH_PARAMETERS;
127 
128 #ifdef __cplusplus
129 }
130 #endif
131 
132 #endif
UINT32 qtyOfHighPriorityTasks
int IpCycleInMilliseconds
UINT32 qtyOfNormalPriorityTasks
UINT32 qtyOfOutFiles
AXIS_TYPE
MAX_INCREMENT_INFO info


motoman_driver
Author(s): Jeremy Zoss (Southwest Research Institute), Ted Miller (MotoROS) (Yaskawa Motoman), Eric Marcil (MotoROS) (Yaskawa Motoman)
autogenerated on Sat May 8 2021 02:27:44