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!!!
|
||||
#include "../../../src/LighthouseTracker.h"
|
||||
// #include "../../../src/LighthouseTracker.h"
|
||||
|
||||
void NetworkPerception::ReceiveTypedObject(unsigned char *data,
|
||||
Roboid *roboid) {
|
||||
@ -99,9 +99,9 @@ void NetworkPerception::ReceiveTypedObject(unsigned char *data,
|
||||
|
||||
// roboid->perception->AddTrackedObject(this, objectType, worldPosition,
|
||||
// worldOrientation);
|
||||
Sensor *sensor =
|
||||
roboid->perception->FindSensorOfType(0x82); // Lighthouse type sensor
|
||||
LighthouseTracker *lhSensor = (LighthouseTracker *)sensor;
|
||||
lhSensor->UpdateGeometry(objectId, worldPosition, worldOrientation);
|
||||
// Sensor *sensor =
|
||||
// roboid->perception->FindSensorOfType(0x82); // Lighthouse type sensor
|
||||
// LighthouseTracker *lhSensor = (LighthouseTracker *)sensor;
|
||||
// lhSensor->UpdateGeometry(objectId, worldPosition, worldOrientation);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user