-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigMatlabPriors.m
31 lines (27 loc) · 1.31 KB
/
configMatlabPriors.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
function priors = configMatlabPriors()
priors = Estimation.Proprioception.PriorsStdDev;
priors.base_position = [1e-3 1e-3 1e-3];
priors.base_orientation = [deg2rad(0.1) deg2rad(0.1) deg2rad(0.1)];
priors.base_linear_velocity = [1e-2 1e-2 1e-2];
priors.base_angular_velocity = [1e-3 1e-3 1e-3];
% walking
priors_dev.imu_orientation = [deg2rad(10) deg2rad(10) deg2rad(1)]';
priors_dev.imu_position = [0.01 0.01 0.01]';
priors_dev.imu_linear_velocity = [0.5 0.5 0.5]';
priors_dev.left_foot_orientation = [deg2rad(10) deg2rad(10) deg2rad(1)]';
priors_dev.left_foot_position = [0.01 0.01 0.01]';
priors_dev.right_foot_orientation = [deg2rad(10) deg2rad(10) deg2rad(1)]';
priors_dev.right_foot_position = [0.01 0.01 0.01]';
priors_dev.accel_bias = [0.01 0.01 0.01]';
priors_dev.gyro_bias = [0.002 0.002 0.002]';
% coordinator
% priors_dev.imu_orientation = [deg2rad(30) deg2rad(30) deg2rad(30)]';
% priors_dev.imu_position = [0.1 0.1 0.1]';
% priors_dev.imu_linear_velocity = [0.5 0.5 0.5]';
% priors_dev.left_foot_orientation = priors_dev.imu_orientation';
% priors_dev.left_foot_position = priors_dev.imu_position';
% priors_dev.right_foot_orientation = priors_dev.imu_orientation';
% priors_dev.right_foot_position = priors_dev.imu_position';
% priors_dev.accel_bias = [0.01 0.01 0.01]';
% priors_dev.gyro_bias = [0.002 0.002 0.002]';
end