Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion FriedLiver/Source/FriedLiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ RGBDSensor* getRGBDSensor()
#ifdef REAL_SENSE
//static RealSenseSensor s_realSenseSensor;
//return &s_realSenseSensor;
g_sensor = RealSenseSensor;
g_sensor = new RealSenseSensor;
return g_sensor;
#else
throw MLIB_EXCEPTION("Requires Real Sense SDK and REAL_SENSE macro");
Expand Down
3 changes: 3 additions & 0 deletions FriedLiver/Source/PrimeSenseSensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ class PrimeSenseSensor : public RGBDSensor
//! Processes the depth data (and color)
bool processDepth();

std::string getSensorName() const {
return "PrimeSense";
}

//! Processes the Kinect color data
bool processColor()
Expand Down
4 changes: 4 additions & 0 deletions FriedLiver/test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
adasda
asdasdasd

asdadasd