Skip to content

Commit

Permalink
Cleaned up code, removed dircol multiple shooting
Browse files Browse the repository at this point in the history
Multiple shooting for direct collocation still needs a bit more
documentation and organization before being ready for the master
branch of the code.

I also went through and checked that every example runs.

I changed the way that sparsity plotting works, now the pattern is
passed as part of the solution struct, and then the user has access
to the data. It also makes the interface simpler, with fewer options.
  • Loading branch information
MatthewPeterKelly committed Jul 10, 2016
1 parent 49d6bc4 commit 46a9fe2
Show file tree
Hide file tree
Showing 17 changed files with 218 additions and 1,402 deletions.
6 changes: 0 additions & 6 deletions demo/acrobot/MAIN.m
Expand Up @@ -75,12 +75,6 @@
% method = 'orthogonal'; % <-- this usually finds bad local minimum
% method = 'gpops'; % <-- fast, but numerical problem is maxTorque is large

% NOTES:
% - The 'direct' method takes much longer to run, but it finds a good
% solution. The 'orthogonal' method finds a solution much faster, but the
% objective function is not as good. Why?
%

switch method
case 'direct'
problem.options(1).method = 'trapezoid';
Expand Down
1 change: 1 addition & 0 deletions demo/cartPole/RESULTS_makePlots.m
Expand Up @@ -3,6 +3,7 @@
% Solve the cart-pole swing-up problem

clc; clear;
addpath ../../

p.m1 = 1.0; % (kg) Cart mass
p.m2 = 0.3; % (kg) pole mass
Expand Down
205 changes: 0 additions & 205 deletions demo/fiveLinkBiped/DEV_PlotSparsityPattern.m

This file was deleted.

0 comments on commit 46a9fe2

Please sign in to comment.