Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paper experiment results #62

Merged
merged 37 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
d4011ff
dev
hzyu17 May 6, 2024
d221a2c
update
hzyu17 May 28, 2024
bfccc7f
reproduce map2 sparse gh
hzyu17 May 29, 2024
d8c516c
update
hzyu17 May 29, 2024
dfd9a38
parameters exp
hzyu17 Jun 3, 2024
734e9ab
update
hzyu17 Jun 3, 2024
ace2669
omp
hzyu17 Jun 6, 2024
3542ba2
update GaussianVI main optimize()
hzyu17 Jun 6, 2024
7bf6274
Merge branch 'paper_experiment_results' of github.com:hzyu17/VIMP int…
hzyu17 Jun 6, 2024
4d508cb
update temperature and linesearch
hzyu17 Jun 7, 2024
dbc5ce1
update submodule to a new commit
hzyu17 Jun 7, 2024
cc53e4f
updated 2d pr exp definitions and readme on map
hzyu17 Jun 7, 2024
822f170
update for paper result branch
hzyu17 Jun 17, 2024
a47f095
update
hzyu17 Jun 17, 2024
7cd4218
update
hzyu17 Jun 17, 2024
fe2da1b
update
hzyu17 Jun 17, 2024
37cc918
update
hzyu17 Jun 17, 2024
874a74e
update gh quadratures
hzyu17 Jun 17, 2024
bfa9d04
pr 2d 4 cases
hzyu17 Jun 19, 2024
38ab370
wam 2 examples
hzyu17 Jun 20, 2024
9838e1f
wam 2 examples
hzyu17 Jun 20, 2024
dc91210
for computation time comparison
hzyu17 Jun 20, 2024
39befd6
update submodule GaussianVI
hzyu17 Jun 21, 2024
7dad279
computation time 7d arm
hzyu17 Jun 21, 2024
c9564ca
Merge branch 'paper_experiment_results' of github.com:hzyu17/VIMP int…
hzyu17 Jun 21, 2024
0b9e647
computation time priors
hzyu17 Jun 22, 2024
b2f7745
pquad gif
hzyu17 Jun 29, 2024
50519a4
readme
hzyu17 Jun 29, 2024
68db7ac
pquad exp
hzyu17 Jun 29, 2024
ab57177
update pquad
hzyu17 Jun 30, 2024
4a80951
update pquad
hzyu17 Jun 30, 2024
25be011
update readme
hzyu17 Jul 2, 2024
7480ec0
update readme
hzyu17 Jul 2, 2024
77399a6
update readme
hzyu17 Jul 2, 2024
ffb4c5f
update readme
hzyu17 Jul 2, 2024
c7cb5d2
update readme
hzyu17 Jul 2, 2024
4f5a698
merge
hzyu17 Jul 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wam 2 examples
  • Loading branch information
hzyu17 committed Jun 20, 2024
commit 38ab370626314e6fe082a02dd8fb718f79bc3220
35 changes: 25 additions & 10 deletions matlab_helpers/GVIMP-examples/WAM/plot_wam_paper.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,30 @@
import gtsam.*
import gpmp2.*

% =====================================
% =================================
% full grid GH quadrature results
% =====================================
% =================================
% prefix = "case1";

% ===================================
% sparse GH quadrature results 0.5
% ===================================
prefix = "sparse_gh/case1";
% =============================
% sparse GH quadrature results
% =============================
i_exp = 2;

switch i_exp
case 1
prefix = "sparse_gh/case1";
case 2
prefix = "sparse_gh/case2";
end

%% ******************* Start and goal configurations ******************
start_confs = [-0.8, -1.70, 1.64, 1.29, 1.1, -0.106, 2.2;
-0.9, -1.70, 1.34, 1.19, 0.8, -0.126, 2.5];
end_confs = [-0.0, 0.94, 0, 1.6, 0, -0.919, 1.55;
-0.7, 1.35, 1.2, 1.0, -0.7, -0.1, 1.2];

%% read experiment results
means = csvread([prefix+"/mean.csv"]);
covs = csvread([prefix+"/cov.csv"]);
precisions = csvread([prefix+"/joint_precision.csv"]);
Expand All @@ -43,7 +57,6 @@
break
end
end

step_size = floor(niters / nsteps);
n_states = floor(ttl_dim / dim_theta);

Expand All @@ -60,11 +73,13 @@
field = signedDistanceField3D(dataset.map, dataset.cell_size);
disp('calculating signed distance field done');

%% ******************* WAM Arm and start and end conf ******************
%% ******************* WAM Arm ******************
arm = generateArm('WAMArm');

start_conf = [-0.8,-1.70,1.64,1.29,1.1,-0.106,2.2]';
end_conf = [-0.0,0.94,0,1.6,0,-0.919,1.55]';
% start and goal
start_conf = start_confs(i_exp, 1:end)';
end_conf = end_confs(i_exp, 1:end)';

start_vel = zeros(7,1);
end_vel = zeros(7,1);

Expand Down
392 changes: 196 additions & 196 deletions matlab_helpers/GVIMP-examples/WAM/sparse_gh/case1/Sk_sdf.csv

Large diffs are not rendered by default.

41 changes: 30 additions & 11 deletions matlab_helpers/GVIMP-examples/WAM/sparse_gh/case1/cost.csv
Original file line number Diff line number Diff line change
@@ -1,11 +1,30 @@
625836.336622798
16302.010358966
14988.2745573915
14835.2688939404
4942.65147559676
4931.15225123505
4739.0695871258
4584.40775719927
4578.61201045667
4467.61597855968
4452.80758445837
3545.81917623334
2364.10210594623
2272.95358445829
2222.32743061328
2178.80518895198
2138.75674983327
1975.99955553513
1928.36073529408
1842.14627560471
1769.45284451049
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
15,680 changes: 5,880 additions & 9,800 deletions matlab_helpers/GVIMP-examples/WAM/sparse_gh/case1/cov.csv

Large diffs are not rendered by default.

158 changes: 59 additions & 99 deletions matlab_helpers/GVIMP-examples/WAM/sparse_gh/case1/factor_costs.csv

Large diffs are not rendered by default.

Loading