Skip to content
Snippets Groups Projects
Commit e65c7ab7 authored by Raphael Grimm's avatar Raphael Grimm
Browse files

apps now use runSimpleComponentApp (less code, less duplication)

parent 68c181ea
No related branches found
No related tags found
No related merge requests found
......@@ -22,13 +22,13 @@
* GNU General Public License
*/
#include "XsensIMUApp.h"
#include <RobotAPI/drivers/XsensIMU/XsensIMU.h>
#include <ArmarXCore/core/application/Application.h>
#include <ArmarXCore/core/Component.h>
#include <ArmarXCore/core/logging/Logging.h>
int main(int argc, char* argv[])
{
armarx::ApplicationPtr app = armarx::Application::createInstance < armarx::XsensIMUApp > ();
app->setName("XsensIMU");
return app->main(argc, argv);
return armarx::runSimpleComponentApp<armarx::XsensIMU>(argc, argv, "XsensIMU");
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment