Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120632399
main.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jul 5, 18:54
Size
897 B
Mime Type
text/x-c
Expires
Mon, Jul 7, 18:54 (2 d)
Engine
blob
Format
Raw Data
Handle
27199130
Attached To
R2671 HHRI-software
main.cpp
View Options
#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
Log In to Comment