Tetrapod Project
hierarchical_optimization_controller_node.cpp
Go to the documentation of this file.
1 
2 /*******************************************************************/
3 /* AUTHOR: Paal Arthur S. Thorseth */
4 /* ORGN: Dept of Eng Cybernetics, NTNU Trondheim */
5 /* FILE: hierarchical_optimization_controller_node.cpp */
6 /* DATE: May 15, 2021 */
7 /* */
8 /* Copyright (C) 2021 Paal Arthur S. Thorseth, */
9 /* Adrian B. Ghansah */
10 /* */
11 /* This program is free software: you can redistribute it */
12 /* and/or modify it under the terms of the GNU General */
13 /* Public License as published by the Free Software Foundation, */
14 /* either version 3 of the License, or (at your option) any */
15 /* later version. */
16 /* */
17 /* This program is distributed in the hope that it will be useful, */
18 /* but WITHOUT ANY WARRANTY; without even the implied warranty */
19 /* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */
20 /* See the GNU General Public License for more details. */
21 /* */
22 /* You should have received a copy of the GNU General Public */
23 /* License along with this program. If not, see */
24 /* <https://www.gnu.org/licenses/>. */
25 /* */
26 /*******************************************************************/
27 
28 #include "ros/ros.h"
29 
31 
32 // Main
33 int main(int argc, char **argv)
34 {
35  HierarchicalOptimizationControl ho_controller;
36 
37  //testHLSO(ho_controller);
38 
39  //testQPSolver2(ho_controller);
40 
41  //testQPSolver3(ho_controller);
42 
43  //testHQPO(ho_controller);
44 
45  //testHO(ho_controller);
46 
47  ros::Duration(1.0).sleep();
48 
49  //ho_controller.EOMsTaskTest();
50 
51  //ho_controller.testDrakeQPOpt();
52 
53  ho_controller.StaticTorqueTest();
54 
55  ros::spin();
56 
57  return 0;
58 }
A class for hierarchical optimization control.
int main(int argc, char **argv)