-
Notifications
You must be signed in to change notification settings - Fork 0
/
tank_based_bi_teleop_pf_params.m
66 lines (52 loc) · 1.06 KB
/
tank_based_bi_teleop_pf_params.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
% Sample parameters for the scattering based bilateral teleoperation
clear all;
close all;
% Input function amplitude parameter (sin or step with low pass filter)
A = 1;
% Low pass frequency cuff off
Fip = 5;
% Sin frequency
Fc = 0.1;
delay = 10;
% Cut off frequency for filter after each discrete derivative
Filter = 100; %Hz
% Human intention controller (PI)
Ph = 5; %5;
Dh = 0;
Ih = 0; %2;
% Master controller
Bm = 0; %0.8;
Km = 0; %1;
% Slave controller
Bs = 40;
Ks = 50;
% Inertia of robot dynamics
Mm = 0.5;
Ms = 2;
% Make the real pole with re<0 to change the inertia of the robot
% dynamics verify this value by adding them to the simulink model
% Dm = 5;
% Ds = 10;
Dm = 0;
Ds = 0;
% Human impedance parameters
% Jh = 0.05;
% Bh = 1.5;
% Kh = 0;
% Human impedance parameters
Jh = 0; %0.5;
Bh = 1.5; %70;
Kh = 1; %2000;
% Environment impedance parameters
Je = 0;
Be = 10; %100;
Ke = 200; %200;
alpha = 0.1;
beta = 0.01;
h_limit = 0.5;
H_master_init = 1;
H_slave_init = 1;
% Sampling time
Ts = 0.001;
VarianceForces = 0.01;
VarianceVelocities = 0.00001;