-
Notifications
You must be signed in to change notification settings - Fork 0
/
exo_sett.h
37 lines (25 loc) · 974 Bytes
/
exo_sett.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
/**********************
-- NOMENCLATURE:
Settings:
- MECHBLOCK: servo motor temporary short blocking when reaching mechanical limits (0: don't apply; 1: apply)
- SERVOBEH: servo behaviour:
1: attach/detach+repower; PROS: for non-latching servos, reactivity in both attaching and adetaching signal; CONS: powering/unpowering might decrease lifetime
2: attach/detach; PROS: for non-latching servos, servo is always powered, so life time should not be affected; CONS: servo may not be very reactive when detaching;
3: power/unpower; PROS: works for each servo, matching or unlatching; CONS: life time may be affected, servo may not be very reactive when attaching;
note: reactivity in attaching may be more relevant than reactivity in detaching.
**********************/
#pragma once
/*
#ifdef __cplusplus
extern "C" {
#endif
*/
typedef struct {
unsigned long MECHBLOCK;
unsigned long SERVOBEH;
} exo_setts;
/*
#ifdef __cplusplus
}
#endif
*/