Disable LH tracker hack
This commit is contained in:
parent
6576a38f9b
commit
4403f7a341
@ -80,7 +80,7 @@ void NetworkPerception::ReceiveObject(unsigned char *data, Roboid *roboid) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// HACK!!!
|
// HACK!!!
|
||||||
#include "../../../src/LighthouseTracker.h"
|
// #include "../../../src/LighthouseTracker.h"
|
||||||
|
|
||||||
void NetworkPerception::ReceiveTypedObject(unsigned char *data,
|
void NetworkPerception::ReceiveTypedObject(unsigned char *data,
|
||||||
Roboid *roboid) {
|
Roboid *roboid) {
|
||||||
@ -99,9 +99,9 @@ void NetworkPerception::ReceiveTypedObject(unsigned char *data,
|
|||||||
|
|
||||||
// roboid->perception->AddTrackedObject(this, objectType, worldPosition,
|
// roboid->perception->AddTrackedObject(this, objectType, worldPosition,
|
||||||
// worldOrientation);
|
// worldOrientation);
|
||||||
Sensor *sensor =
|
// Sensor *sensor =
|
||||||
roboid->perception->FindSensorOfType(0x82); // Lighthouse type sensor
|
// roboid->perception->FindSensorOfType(0x82); // Lighthouse type sensor
|
||||||
LighthouseTracker *lhSensor = (LighthouseTracker *)sensor;
|
// LighthouseTracker *lhSensor = (LighthouseTracker *)sensor;
|
||||||
lhSensor->UpdateGeometry(objectId, worldPosition, worldOrientation);
|
// lhSensor->UpdateGeometry(objectId, worldPosition, worldOrientation);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user