Added simple test for image2led map.

Added test executable for creating png from frame grabber.
Added test-device for exporting color values of leds to text file.
Updated configuration to match new color transform.
Finished first version of the Hyperion structure (IT WORKS [1% CPU]!)
This commit is contained in:
T. van der Zwan
2013-08-15 19:11:02 +00:00
parent 2c6b48a54d
commit 4031a33f04
21 changed files with 504 additions and 5921 deletions

View File

@@ -11,7 +11,9 @@
int main(int argc, char** argv)
{
// Initialising QCoreApplication
QCoreApplication app(argc, argv);
std::cout << "QCoreApplication initialised" << std::endl;
// Select config and schema file
const std::string homeDir = getenv("RASPILIGHT_HOME");
@@ -25,11 +27,15 @@ int main(int argc, char** argv)
std::cerr << "UNABLE TO LOAD CONFIGURATION" << std::endl;
return -1;
}
std::cout << "Configuration loaded from: " << configFile << std::endl;
Hyperion hyperion(config);
std::cout << "Hyperion created and initialised" << std::endl;
DispmanxWrapper dispmanx(64, 64, 10, &hyperion);
dispmanx.start();
std::cout << "Frame grabber created and started" << std::endl;
app.exec();
std::cout << "Application closed" << std::endl;
}