FrictionTorque.cpp
Go to the documentation of this file.
1 /*
2  * FrictionTorque.cpp
3  *
4  * Created on: 24 feb 2019
5  * Authors: Oliva Alexander, Gaz Claudio, Cognetti Marco
6  *
7  * C. Gaz, M. Cognetti, A. Oliva, P. Robuffo Giordano, A. De Luca, 'Dynamic
8  * Identification of the Franka Emika Panda Robot With Retrieval of Feasible
9  * Parameters Using Penalty-Based Optimization'. IEEE RA-L, 2019.
10  *
11  */
12 
13 #include "franka_model.h"
14 
15 namespace franka_model
16 {
17 
18 vpColVector
19 friction( const vpColVector &dq )
20 {
21  vpColVector tau_f( njoints, 0 );
22 
23  tau_f[0] = FI_11 / ( 1 + exp( -FI_21 * ( dq[0] + FI_31 ) ) ) - TAU_F_CONST_1;
24  tau_f[1] = FI_12 / ( 1 + exp( -FI_22 * ( dq[1] + FI_32 ) ) ) - TAU_F_CONST_2;
25  tau_f[2] = FI_13 / ( 1 + exp( -FI_23 * ( dq[2] + FI_33 ) ) ) - TAU_F_CONST_3;
26  tau_f[3] = FI_14 / ( 1 + exp( -FI_24 * ( dq[3] + FI_34 ) ) ) - TAU_F_CONST_4;
27  tau_f[4] = FI_15 / ( 1 + exp( -FI_25 * ( dq[4] + FI_35 ) ) ) - TAU_F_CONST_5;
28  tau_f[5] = FI_16 / ( 1 + exp( -FI_26 * ( dq[5] + FI_36 ) ) ) - TAU_F_CONST_6;
29  tau_f[6] = FI_17 / ( 1 + exp( -FI_27 * ( dq[6] + FI_37 ) ) ) - TAU_F_CONST_7;
30 
31  return tau_f;
32 }
33 
34 } // namespace franka_model
franka_model::TAU_F_CONST_6
const double TAU_F_CONST_6
Definition: franka_model.h:67
franka_model::FI_33
const double FI_33
Definition: franka_model.h:56
franka_model::njoints
const unsigned int njoints
Definition: franka_model.h:21
franka_model::FI_24
const double FI_24
Definition: franka_model.h:49
franka_model
Definition: CoriolisMatrix.cpp:21
franka_model::FI_25
const double FI_25
Definition: franka_model.h:50
franka_model::FI_26
const double FI_26
Definition: franka_model.h:51
franka_model::TAU_F_CONST_5
const double TAU_F_CONST_5
Definition: franka_model.h:66
franka_model::TAU_F_CONST_4
const double TAU_F_CONST_4
Definition: franka_model.h:65
franka_model::FI_16
const double FI_16
Definition: franka_model.h:43
franka_model::TAU_F_CONST_7
const double TAU_F_CONST_7
Definition: franka_model.h:68
franka_model::FI_12
const double FI_12
Definition: franka_model.h:39
franka_model::FI_13
const double FI_13
Definition: franka_model.h:40
franka_model::FI_32
const double FI_32
Definition: franka_model.h:55
franka_model::FI_37
const double FI_37
Definition: franka_model.h:60
franka_model::FI_15
const double FI_15
Definition: franka_model.h:42
franka_model::FI_22
const double FI_22
Definition: franka_model.h:47
franka_model::FI_14
const double FI_14
Definition: franka_model.h:41
franka_model::FI_21
const double FI_21
Definition: franka_model.h:46
franka_model::TAU_F_CONST_1
const double TAU_F_CONST_1
Definition: franka_model.h:62
franka_model::FI_36
const double FI_36
Definition: franka_model.h:59
franka_model.h
franka_model::TAU_F_CONST_3
const double TAU_F_CONST_3
Definition: franka_model.h:64
franka_model::FI_23
const double FI_23
Definition: franka_model.h:48
franka_model::FI_17
const double FI_17
Definition: franka_model.h:44
franka_model::FI_27
const double FI_27
Definition: franka_model.h:52
franka_model::FI_34
const double FI_34
Definition: franka_model.h:57
franka_model::friction
vpColVector friction(const vpColVector &dq)
Definition: FrictionTorque.cpp:19
franka_model::FI_31
const double FI_31
Definition: franka_model.h:54
franka_model::FI_35
const double FI_35
Definition: franka_model.h:58
franka_model::TAU_F_CONST_2
const double TAU_F_CONST_2
Definition: franka_model.h:63
franka_model::FI_11
const double FI_11
Definition: franka_model.h:38


visp_ros
Author(s): Francois Pasteau, Fabien Spindler, Gatien Gaumerais, Alexander Oliva
autogenerated on Wed Mar 2 2022 01:13:33