Revision 936
Incremental update; working on:
- new vision algorithm utilizing edge detection instead of thresholding
- sending camera images over sockets instead of using the webserver
PositionMonitor.cpp | ||
---|---|---|
26 | 26 |
PositionMonitor::PositionMonitor() { |
27 | 27 |
//TODO: don't hardcode this file name |
28 | 28 |
//TODO: check for error returned from init |
29 |
vision_init("/var/www/colonet.jpg");
|
|
29 |
vision_init(/*"/var/www/colonet.jpg"*/);
|
|
30 | 30 |
newIdToAssign = -1; |
31 | 31 |
|
32 | 32 |
pthread_mutex_init(&position_map_lock, NULL); |
... | ... | |
36 | 36 |
* @brief Destructor for the PositionMonitor class |
37 | 37 |
*/ |
38 | 38 |
PositionMonitor::~PositionMonitor() { |
39 |
vision_close(); |
|
39 | 40 |
} |
40 | 41 |
|
41 | 42 |
/** |
Also available in: Unified diff