add roadmap information file (#16)

This commit is contained in:
Thomas Pfleiderer
2026-08-13 12:30:12 +02:00
committed by GitHub
parent f900e8dff5
commit 5118aaf379
6 changed files with 140 additions and 17 deletions

View File

@@ -84,18 +84,22 @@ CConsole::~CConsole()
#endif
}
void CConsole::PrintHeader(uint32_t uiInstance)
void CConsole::PrintHeader(bool bSimulate, uint32_t uiInstance)
{
// Clear the screen...
std::cout << "\x1b[2J";
std::string subTtitle = "Standalone application!";
if (uiInstance != 0)
if (uiInstance > 1)
{
subTtitle = "Connected to core instance ";
subTtitle.append(std::to_string(uiInstance));
subTtitle.append(" (not all interfaces available)");
}
else if (bSimulate)
{
subTtitle.append(" simulation mode");
}
// Print the titles
PrintText(g_sTitle, "Open Trunk example: Open trunk when vehicle is not moving");
PrintText(g_sSubTitle, subTtitle);