control.cpp
Go to the documentation of this file.
1 /*********************************************************************
2  * Copyright (c) 2015 Robosavvy Ltd.
3  * Author: Vitor Matos
4  *
5  *********************************************************************/
7 
8 const float g_fWheelRadius = 0.19;
9 const float g_fBaseWidth = 0.5;
10 const float g_fI3 = .85;
11 
12 const float A[4][4] = {
13  { 0, 0, 0, 1 },
14  { -1.2540568855640422, 0, 0, 0 },
15  { 0, 0, 0, 0 },
16  { 6.059985836147613, 0, 0, 0 }};
17 
18 const float B[4][2] = {
19  { 0.0, 0.0 },
20  { 0.1635280961687897, 0.1635280961687897 },
21  { -0.09719802837298575, 0.09719802837298575 },
22  { -0.15573631660299134, -0.15573631660299134 }};
23 
24 const float C[4][4] = {
25  { 1.0, 0.0, 0.0, 0.0 },
26  { 0.0, 1.0, 0.0, 0.0 },
27  { 0.0, 0.0, 1.0, 0.0 },
28  { 0.0, 0.0, 0.0, 1.0 }};
29 
30 const float L[4][4] = {
31  { 28.04011263, -2.25919745, -0. , 10.92301101 },
32  { -2.25919745, 28.93520042, -0. , 5.07012978 },
33  { 0., 0., 20., 0. },
34  { 10.92301101, 5.07012978, -0. , 5.48639076 }};
35 
36 const float K[2][4] = {
37  {-117.29162704, -14.14213562, -7.07106781, -53.23791934},
38  {-117.29162704, -14.14213562, 7.07106781, -53.23791934}};
39 
40 const float A_BK[4][4] = {
41  { 0. , 0. , 0. , 1. },
42  { 37.10689605, 4.62527303, 0. , 17.41179119},
43  { 0. , 0. , -1.3745877 , 0. },
44  {-30.47314609, -4.40488822, -0. , -16.58215492 }};
const float L[4][4]
Definition: control.cpp:30
const float C[4][4]
Definition: control.cpp:24
const float g_fI3
Definition: control.cpp:10
const float K[2][4]
Definition: control.cpp:36
const float B[4][2]
Definition: control.cpp:18
const float g_fWheelRadius
Definition: control.cpp:8
const float g_fBaseWidth
Definition: control.cpp:9
const float A[4][4]
Definition: control.cpp:12
const float A_BK[4][4]
Definition: control.cpp:40


rsv_balance_gazebo_control
Author(s): Vitor Matos
autogenerated on Mon Jun 10 2019 15:06:39