-
Notifications
You must be signed in to change notification settings - Fork 0
/
exo_meas.h
48 lines (33 loc) · 847 Bytes
/
exo_meas.h
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
37
38
39
40
41
42
43
44
45
46
47
48
/**********************
-- NOMENCLATURE:
Measures:
- TS: time (ms from uC start)
- MT: motor torque (Nm)
- MP: motor position (deg, shaft up positive)
- SPC: spring compression (mm, compression positive)
- SVAN: shank angle with vertical (deg, forward inclination positive)
- AAN: ankle angle (deg, dorsiflexion positive)
- AANG: ankle angle to gamma angle (deg)
- FVAN: foot angle with vertical (deg, toe down positive)
- VAC: IMU vertical acceleration (m/s2, up positive)
- QUADB: distance between motor shaft and ankle axis shaft (mm)
**********************/
#pragma once
typedef struct {
unsigned long TS;
float MT;
float MP;
float SPC;
float SVAN;
float AAN;
float AANG;
float FVAN;
double VAC;
float QUADB;
} exo_meas;
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif