blob: 4e2b809955b21748ac1263655a70504d0c774eeb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/********************************************************************
* Description: emcpos.h
*
* Derived from a work by Fred Proctor & Will Shackleford
*
* Author:
* License: GPL Version 2
* System: Linux
*
* Copyright (c) 2004 All rights reserved.
*
* Last change:
********************************************************************/
#ifndef EMCPOS_H
#define EMCPOS_H
#include "posemath.h" /* PmCartesian */
typedef struct EmcPose {
PmCartesian tran;
double a, b, c;
double u, v, w;
} EmcPose;
#define ZERO_EMC_POSE(pos) do { \
pos.tran.x = 0.0; \
pos.tran.y = 0.0; \
pos.tran.z = 0.0; \
pos.a = 0.0; \
pos.b = 0.0; \
pos.c = 0.0; \
pos.u = 0.0; \
pos.v = 0.0; \
pos.w = 0.0; } while(0)
#endif
|