A sparse MPC solver for walking motion generation.
oru_walk_main.cpp
Go to the documentation of this file.
1 /**
2  * @file
3  *
4  * This file was generated by Aldebaran Robotics ModuleGenerator.
5  * No need to edit this file.
6  */
7 
8 #include <signal.h>
9 #include <alcore/alptr.h>
10 #include <alcommon/albroker.h>
11 #include <alcommon/almodule.h>
12 #include <alcommon/albrokermanager.h>
13 #include <alcommon/altoolsmain.h>
14 
15 
16 #include "oru_walk.h"
17 
18 
19 
20 
21 #ifdef ORU_WALK_IS_REMOTE_OFF // shared library
22 
23 # ifdef _WIN32
24  #define ALCALL __declspec(dllexport)
25 # else
26  #define ALCALL
27 # endif
28 
29 #else // standalone executable
30  #define ALCALL
31 #endif // ORU_WALK_IS_REMOTE_OFF
32 
33 
34 
35 #ifdef __cplusplus
36 extern "C"
37 {
38 #endif
39 
40 
41 ALCALL int _createModule( AL::ALPtr<AL::ALBroker> pBroker )
42 {
43  // init broker with the main broker instance
44  // from the parent executable
45  AL::ALBrokerManager::setInstance(pBroker->fBrokerManager.lock());
46  AL::ALBrokerManager::getInstance()->addBroker(pBroker);
47 
48 
49  AL::ALModule::createModule<oru_walk>( pBroker, "oru_walk" );
50 
51 
52  return 0;
53 }
54 
56 {
57  return 0;
58 }
59 
60 # ifdef __cplusplus
61 }
62 # endif
63 
64 
65 #ifdef ORU_MODULE_IS_REMOTE_ON
66  #error Remote operation is not supported for this module!
67 #endif // ORU_MODULE_IS_REMOTE_ON
ALCALL int _createModule(AL::ALPtr< AL::ALBroker > pBroker)
ALCALL int _closeModule()
#define ALCALL