Skip to content

Commit

Permalink
Update SCvxGEN comparison and README
Browse files Browse the repository at this point in the history
  • Loading branch information
purnanandelango committed Apr 28, 2024
1 parent fc67229 commit 97edafb
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/preamble.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
urlcolor=green!20!gray!80
}
\usepackage{mathpazo}
\usepackage{microtype}
\usepackage[nopatch]{microtype}
\usepackage{amsmath,amssymb,bm}
\usepackage{setspace}
\usepackage{algorithm}
Expand Down
Binary file modified docs/readme.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/readme.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
\input preamble

\title{{\Large Successive Convexification for Trajectory Optimization with \\Continuous-Time Constraint Satisfaction}\\[0.5cm]{\Large{\ctscvx}}}
\author{{\normalsize Autonomous Controls Laboratory}\\{\normalsize University of Washington, Seattle}}
\author{{\normalsize Purnanand Elango}\\{\small University of Washington, Seattle}}

\date{}

Expand Down
2 changes: 1 addition & 1 deletion obstacle-avoidance/dynamic-elliptic/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Dynamic Obstacles
# Dynamic Obstacle Avoidance

![](ctcs/anim.gif)
1 change: 1 addition & 0 deletions obstacle-avoidance/dynamic-elliptic/SCvxGEN/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SCvxGEN binaries were compiled for Apple M processor.
2 changes: 1 addition & 1 deletion obstacle-avoidance/dynamic-elliptic/ctcs/main.m
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
't_grid', 'x_grid', 'u_grid');

% Compare against SCvxGEN solution
solution_file = "solution.csv";
solution_file = "../SCvxGEN/data/solution.csv";
if exist(solution_file)
xx = readmatrix(solution_file,"Range",[1 1 prb.K prb.nx])';
uu = diag([1,1,prb.K-1])*readmatrix("solution.csv","Range",[prb.K+1 1 2*prb.K prb.nu])';
Expand Down
Binary file modified obstacle-avoidance/dynamic-elliptic/ctcs/recent_solution.mat
Binary file not shown.
1 change: 1 addition & 0 deletions rocket-landing-6DoF/SCvxGEN/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SCvxGEN binaries were compiled for Apple M processor.
3 changes: 1 addition & 2 deletions rocket-landing-6DoF/ctcs/main.m
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@
'xbar','ubar','tvecbar','taubar');

% Compare against SCvxGEN solution
% solution_file = "../../../scvxgen/examples/rocket_landing/code_rocket_landing_6_DoF_lunar/build/solution.csv";
solution_file = "solution.csv";
solution_file = "../SCvxGEN/data/solution.csv";
if exist(solution_file)
xx = readmatrix(solution_file,"Range",[1 1 prb.K prb.nx])';
uu = diag([1,1,1,prb.K-1])*readmatrix("solution.csv","Range",[prb.K+1 1 2*prb.K prb.nu])';
Expand Down
2 changes: 1 addition & 1 deletion rocket-landing-6DoF/ctcs/problem_data.m
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
prb.w_px = w_px;
prb.cost_factor = cost_factor;

prb.eps_epp = 1e-7;
prb.eps_ep = 1e-7;
prb.eps_px = 1e-4;

% Takes in unscaled data
Expand Down
2 changes: 1 addition & 1 deletion rocket-landing-6DoF/ctcs/problem_data_lunar.m
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
prb.cost_factor = cost_factor;

prb.eps_ep = 1e-7;
prb.eps_px = 5e-4;
prb.eps_px = 1e-3;

% Takes in unscaled data
prb.time_of_maneuver = @(x,u) disc.time_of_maneuver(prb.disc,prb.tau,u(4,:));
Expand Down
Binary file modified rocket-landing-6DoF/ctcs/recent_solution.mat
Binary file not shown.

0 comments on commit 97edafb

Please sign in to comment.