Revision 4d54a507 devices/DiWheelDrive/amiro_map.hpp
devices/DiWheelDrive/amiro_map.hpp | ||
---|---|---|
37 | 37 |
node * getNodeList(){return nodeList; } |
38 | 38 |
|
39 | 39 |
|
40 |
AmiroMap(Global *global) : global{global} {}
|
|
40 |
AmiroMap(Global *global, LineFollowStrategy lfStrategy) : global(global), lfStrategy(lfStrategy) {}
|
|
41 | 41 |
|
42 | 42 |
/** |
43 | 43 |
* Initialize a new map from configuration. |
... | ... | |
46 | 46 |
*/ |
47 | 47 |
uint8_t initialize(); |
48 | 48 |
|
49 |
void reset(); |
|
49 | 50 |
|
50 | 51 |
/** |
51 | 52 |
* Update the internal map state according to the detected fixpoint |
... | ... | |
127 | 128 |
|
128 | 129 |
// Either create new fxpoint or assign point to existing one |
129 | 130 |
uint8_t assignFxp(types::position *p1); |
130 |
void reset(); |
|
131 |
|
|
131 | 132 |
}; |
132 | 133 |
|
133 | 134 |
}; // namespace amiro |
Also available in: Unified diff