Page MenuHomec4science

main.cpp
No OneTemporary

File Metadata

Created
Sat, Jul 5, 18:54

main.cpp

#include "mainwindow.h"
#include <QApplication>
/** @defgroup DemoApp HRI C++ interface demo application
* @brief A simple demo program demonstrating the capabilities of the C++
* interface of the HRI boards.
*
* This demo program shows a window allows the user to set an arbitrary motor
* torque (on-demand SyncVar read/write), and to display continuously the Hall
* sensor voltage (SyncVar streaming).
*
* @addtogroup DemoApp
* @{
*/
/**
* @brief Main function.
* @param argc number of arguments.
* @param argv arguments array.
* @return 0 if the program exited normally, the error code otherwise.
*/
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
a.setApplicationName("HRI_PC_Controller");
a.setOrganizationDomain("lsro.epfl.ch");
a.setOrganizationName("LSRO");
MainWindow w;
w.show();
return a.exec();
}
/**
* @}
*/

Event Timeline