Revision 64a67b32
Merged ApproachEmitter behavior with ParkScout. Still buggy.
scout/libscout/src/test_behaviors/ApproachEmitter.h | ||
---|---|---|
46 | 46 |
private: |
47 | 47 |
int identifyPosition(std::vector<uint32_t> readings, |
48 | 48 |
std::vector<uint32_t> senders); |
49 |
|
|
50 |
bool reverse_park(); |
|
51 |
int get_side(); |
|
52 |
bool checkBOM(int bNum, unsigned int ID); |
|
53 |
void update_readings(); |
|
54 |
bool at_destination(); |
|
55 |
|
|
49 | 56 |
std::string name; |
50 | 57 |
pos* scout_pos; |
51 | 58 |
std::vector<uint8_t> LEFT; |
... | ... | |
53 | 60 |
std::vector<uint8_t> FRONT; |
54 | 61 |
std::vector<uint8_t> BACK; |
55 | 62 |
|
63 |
int start_side; |
|
64 |
std::vector<uint32_t> readings; |
|
65 |
std::vector<uint32_t> senders; |
|
66 |
|
|
67 |
|
|
68 |
|
|
56 | 69 |
}; |
57 | 70 |
#endif |
Also available in: Unified diff